:root {
  --bg: #050816;
  --ink: #edf1f5;
  --muted: #a0aabd;
  --dim: #748298;
  --accent: #82f7dc;
  --line: rgba(183, 204, 225, 0.14);
  --ease: cubic-bezier(0.22, 0.8, 0.25, 1);
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --gutter: clamp(24px, 5vw, 88px);
}
* {
  box-sizing: border-box;
}
html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--bg);
  color: var(--ink);
}
body {
  font-family:
    Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei",
    "Noto Sans CJK SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
button {
  border: 0;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
h1:focus,
h2:focus {
  outline: none;
}
button:disabled {
  opacity: 0.28;
  cursor: default;
}
h1,
h2,
h3,
p {
  margin: 0;
}
[hidden] {
  display: none !important;
}
svg {
  display: block;
}
::selection {
  background: #82f7dc35;
  color: #fff;
}
.text-mint {
  color: var(--accent);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 24px;
  z-index: 100;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--bg);
  border-radius: 5px;
}
.skip-link:focus {
  top: 12px;
}
.noscript-message {
  position: fixed;
  bottom: 90px;
  left: 10%;
  right: 10%;
  z-index: 50;
  background: #0e1829;
  padding: 20px;
  border: 1px solid var(--line);
}
#starfield,
.aurora,
.noise {
  position: fixed;
  pointer-events: none;
}
#starfield {
  inset: 0;
  z-index: 0;
}
.aurora {
  z-index: 1;
  border-radius: 50%;
  filter: blur(clamp(45px, 6vw, 90px));
  animation: auroraDrift 12s ease-in-out infinite alternate;
}
.aurora-violet {
  width: 78vw;
  height: 78vh;
  left: -25vw;
  top: -25vh;
  background: linear-gradient(135deg, #7660f4, #3c35d6 55%, #2a5ba6);
  opacity: 0.34;
}
.aurora-mint {
  width: 70vw;
  height: 76vh;
  right: -25vw;
  bottom: -32vh;
  background: linear-gradient(130deg, #345cc9, #137c76 55%, #27bda0);
  opacity: 0.32;
  animation-delay: -6s;
  animation-direction: alternate-reverse;
}
.noise {
  inset: 0;
  z-index: 25;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.7' d='M0 0h180v180H0z'/%3E%3C/svg%3E");
}
@keyframes auroraDrift {
  to {
    transform: translate(9vw, 8vh) rotate(10deg) scale(1.1);
  }
}
.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  height: 88px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: linear-gradient(180deg, #05081699, #05081635);
  backdrop-filter: blur(20px);
}
.topbar:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: var(--gutter);
  right: var(--gutter);
  height: 1px;
  background: var(--line);
  opacity: 0.7;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  width: max-content;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0.14em;
}
.brand small {
  margin-left: 9px;
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--muted);
}
.brand-orbit {
  position: relative;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #82f7dcaa;
  border-radius: 50%;
  transform: rotate(-28deg);
}
.brand-orbit:before {
  content: "";
  position: absolute;
  width: 36px;
  height: 11px;
  border: 1px solid #82f7dc99;
  border-radius: 50%;
}
.brand-orbit i {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
}
.view-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-width: 130px;
  padding: 10px 18px;
  border: 1px solid #82f7dc26;
  border-radius: 100px;
  background: #82f7dc09;
  color: #c1eadf;
  font-size: 13px;
  letter-spacing: 0.08em;
}
.status-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px #82f7dc08;
}
.top-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}
.contents-button {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff04;
  padding: 10px 13px;
  color: #c5d4df;
}
.contents-button:hover {
  border-color: #82f7dc55;
  color: var(--accent);
}
.contents-button svg {
  width: 15px;
  height: 15px;
}
.music-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 6px;
  min-height: 36px;
  background: transparent;
  color: var(--dim);
  font-size: 11px;
  white-space: nowrap;
  transition: color 0.2s;
}
.music-button:hover,
.music-button.is-playing {
  color: var(--accent);
}
.music-button svg {
  width: 18px;
  height: 18px;
}
.music-sound,
.music-button.is-playing .music-silent {
  display: none;
}
.music-button.is-playing .music-sound {
  display: block;
}
/* One browser viewport is one slide. Each slide has its own overflow fallback. */
.deck {
  position: fixed;
  inset: 0;
  z-index: 5;
}
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  padding: 112px clamp(70px, 9vw, 165px) 92px;
  isolation: isolate;
}
.slide:before {
  content: attr(data-number);
  position: absolute;
  right: 8vw;
  bottom: 90px;
  font: 300 clamp(180px, 20vw, 320px)/0.8 var(--mono);
  letter-spacing: -0.08em;
  color: #aec2df04;
  pointer-events: none;
  z-index: -1;
}
.slide-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #8aacb540 transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: safe center;
  touch-action: pan-y pinch-zoom;
}
.slide-inner {
  width: 1180px;
  flex-shrink: 0;
  zoom: var(--slide-scale, 1);
}
.slide.is-active .slide-inner {
  animation: slideEnter 0.55s var(--ease) both;
}
.deck[data-direction="up"] {
  --enter-offset: -28px;
}
.deck[data-direction="down"] {
  --enter-offset: 28px;
}
@keyframes slideEnter {
  from {
    opacity: 0;
    transform: scale(0.985);
    filter: blur(3px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
.slide.is-active [data-reveal] {
  animation: detailEnter 0.85s var(--ease) both;
  animation-delay: var(--reveal-delay, 0s);
}
.slide.is-active [data-reveal="scale"] {
  animation-name: artworkEnter;
  animation-duration: 1s;
}
@keyframes detailEnter {
  from {
    opacity: 0;
    transform: translateY(var(--enter-offset, 28px));
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
@keyframes artworkEnter {
  from {
    opacity: 0;
    transform: scale(0.91);
    filter: blur(5px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
.slide.is-active .media-stage .artwork svg {
  animation: artworkFloat 7s ease-in-out infinite;
}
@keyframes artworkFloat {
  50% {
    transform: translateY(-7px) rotate(1deg);
  }
}
.hero-layout,
.contents-layout,
.project-layout,
.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 65px;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font: 13px/1.7 var(--mono);
  letter-spacing: 0.16em;
  margin-bottom: 24px;
}
.eyebrow:before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
  flex-shrink: 0;
}
.slide h1 {
  font-size: 72px;
  line-height: 1.36;
  letter-spacing: -0.06em;
  font-weight: 500;
  white-space: nowrap;
}
.slide h2 {
  font-size: 56px;
  line-height: 1.4;
  letter-spacing: -0.045em;
  font-weight: 500;
}
.lead {
  color: var(--muted);
  font-size: 20px;
  line-height: 2;
  margin-top: 26px;
}
.hero-layout {
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 32px;
}
.button {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 0 21px;
  border-radius: 6px;
  font-size: 16px;
  transition:
    transform 0.2s,
    background 0.2s,
    border-color 0.2s;
}
.button:hover {
  transform: translateY(-2px);
}
.button-primary {
  background: var(--accent);
  color: #102a22;
}
.button-primary:hover {
  background: #adf4df;
}
.button-outline {
  border: 1px solid #82f7dc35;
  background: #82f7dc05;
  color: #c2e6db;
}
.button span {
  font-size: 22px;
}
.hero-tags {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 42px;
  color: #91a2b1;
  font-size: 14px;
  letter-spacing: 0.08em;
}
.hero-tags > span {
  display: flex;
  align-items: center;
  gap: 9px;
}
.hero-tags > span + span {
  border-left: 1px solid var(--line);
  padding-left: 23px;
}
.hero-tags i {
  width: 5px;
  height: 5px;
  background: var(--accent);
  border-radius: 50%;
}
.hero-art {
  position: relative;
  width: 100%;
  margin-left: 0;
  aspect-ratio: 1;
}
.robot-art {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-robot-float {
  transform-origin: 330px 330px;
  animation: robotFloat 7s ease-in-out infinite;
}
.hero-robot-image {
  filter: brightness(1.18) contrast(1.03) drop-shadow(0 8px 8px #02061155);
}
.robot-glow {
  transform-origin: 330px 330px;
  animation: haloBreathe 7s ease-in-out infinite;
}
.robot-ground {
  transform-origin: 366px 590px;
  animation: haloBreathe 7s ease-in-out infinite reverse;
}
@keyframes robotFloat {
  50% {
    transform: translateY(-4px);
  }
}
@keyframes orbitRotate {
  to {
    transform: rotate(360deg);
  }
}
@keyframes haloBreathe {
  50% {
    opacity: 0.65;
    transform: scale(0.94);
  }
}
.art-coordinate {
  position: absolute;
  color: #7f96a8;
  font: 10px var(--mono);
  letter-spacing: 0.15em;
  white-space: nowrap;
}
.coordinate-top {
  top: 4%;
  right: 10%;
}
.coordinate-bottom {
  bottom: 4%;
  left: 13%;
  font-size: 9px;
}
.coordinate-bottom:before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 1px;
  margin-right: 10px;
  vertical-align: middle;
  background: #82f7dc55;
}
.contents-layout {
  gap: 90px;
}
.contents-total {
  display: flex;
  align-items: center;
  gap: 23px;
  margin-top: 35px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
  width: 87%;
}
.contents-total strong {
  font: 300 65px/1 var(--mono);
  color: #d8ebe5;
}
.contents-total > span {
  font-size: 16px;
  color: #acbdc9;
}
.contents-total small {
  display: block;
  margin-top: 10px;
  font: 9px var(--mono);
  letter-spacing: 0.12em;
  color: var(--dim);
}
.placeholder-note {
  display: block;
  margin-top: 28px;
  color: #71889a;
  font-size: 12px;
  line-height: 1.8;
}
.project-index {
  border-top: 1px solid var(--line);
}
.index-item {
  display: grid;
  grid-template-columns: 24px 76px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  padding: 12px 6px;
  border-bottom: 1px solid var(--line);
  transition:
    padding 0.25s,
    background 0.25s;
}
.index-item:hover {
  padding-left: 14px;
  padding-right: 14px;
  background: #82f7dc04;
}
.index-number {
  font: 12px var(--mono);
  color: #738b9e;
}
.index-copy strong {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 21px;
  font-weight: 400;
  line-height: 1.4;
}
.index-copy small {
  display: block;
  margin-top: 6px;
  color: #8d9fb1;
  font-size: 12px;
}
.index-arrow {
  font-size: 24px;
  color: #a7d8c7;
}
.project-layout {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 68px;
}
.project-eyebrow {
  margin-bottom: 18px;
  font-size: 12px;
}
.project-copy h2 {
  font-size: 60px;
}
.project-copy .lead {
  font-size: 20px;
  margin-top: 22px;
  line-height: 1.9;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 23px;
}
.project-tags span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #ffffff02;
  color: #b0c1cb;
  font-size: 13px;
}
.project-details {
  display: grid;
  gap: 23px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.project-details h3 {
  font-size: 17px;
  font-weight: 500;
  color: #d3e0e4;
  margin-bottom: 8px;
}
.project-details p {
  font-size: 15px;
  line-height: 1.85;
  color: #8fa1b4;
}
.project-art-column {
  min-width: 0;
}
.project-source {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  padding: 10px 15px;
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #a7d8c7;
  font-size: 14px;
  text-decoration: none;
}
.project-source:hover,
.project-source:focus-visible {
  border-color: currentColor;
  background: #a7d8c70c;
}
.media-stage {
  position: relative;
  width: 100%;
  aspect-ratio: var(--media-aspect, 1.18);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #0a1220;
  overflow: hidden;
  isolation: isolate;
}
.media-stage.is-portrait {
  width: min(100%, 300px);
  aspect-ratio: 9 / 16;
  margin-inline: auto;
}
.video-preview {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  background: #060b15;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 13px;
}
.video-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #05081608 35%, #05081660);
  pointer-events: none;
}
.video-preview:focus-visible {
  outline-offset: -5px;
}
.video-play-icon {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border: 1px solid #cbffed9c;
  border-radius: 50%;
  color: #d4fff0;
  background: #071b22b8;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 40px #0005;
  transition:
    background 0.2s,
    transform 0.2s;
}
.video-play-icon svg {
  width: 26px;
  height: 26px;
}
.video-preview:hover .video-play-icon {
  transform: scale(1.08);
  background: #163d3cd9;
}
.video-preview-label {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-shadow: 0 1px 8px #000;
}
.video-duration {
  position: absolute;
  z-index: 1;
  right: 16px;
  bottom: 15px;
  padding: 5px 7px;
  background: #06121bcc;
  border-radius: 4px;
  color: #d8e8e5;
  font: 11px var(--mono);
}
.video-loading {
  position: absolute;
  inset: 0 0 45px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  background: #05081666;
  color: #e1f0e9;
  font-size: 13px;
  pointer-events: none;
}
.video-spinner {
  width: 30px;
  height: 30px;
  border: 2px solid #82f7dc33;
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: orbitRotate 1s linear infinite;
}
.media-thumbnails {
  display: flex;
  gap: 10px;
  flex-wrap: nowrap;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  padding-top: 4px;
}
.media-thumbnail {
  position: relative;
  flex: 0 0 110px;
  width: 110px;
  height: 83px;
  overflow: hidden;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #07101a;
  opacity: 0.65;
}
.media-thumbnail.is-current {
  border-color: var(--accent);
  opacity: 1;
}
.media-thumbnail:hover {
  opacity: 1;
}
.media-thumbnail img {
  width: 100%;
  height: 55px;
  object-fit: cover;
}
.media-thumbnail-type {
  position: absolute;
  right: 4px;
  top: 32px;
  padding: 0 3px;
  background: #050816ad;
  border-radius: 2px;
  color: #d9f5e7;
  font-size: 13px;
}
.media-thumbnail-label {
  display: block;
  padding: 6px 4px;
  font-size: 11px;
  line-height: 1;
  color: #c4d5db;
}
.media-stage .artwork {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}
.artwork:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse, transparent 30%, #03081055);
  pointer-events: none;
}
.artwork svg {
  width: 100%;
  height: 100%;
}
.art-orbit {
  background: radial-gradient(ellipse at 45% 40%, #244f5555, #0b1421 68%);
}
.art-structure {
  background: radial-gradient(ellipse at 55% 40%, #51426c55, #11121e 75%);
}
.art-light {
  background: radial-gradient(ellipse at 55% 50%, #294c5c55, #0a1520 75%);
}
.art-interaction {
  background: radial-gradient(ellipse at 40% 50%, #284c623f, #0b1521 70%);
}
.art-waves {
  background: radial-gradient(ellipse at 50% 45%, #3e3b6655, #10121e 70%);
}
.art-possibility {
  background: radial-gradient(ellipse at 50% 45%, #335c524a, #0d171c 70%);
}
.media-stage img,
.media-stage video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #060b15;
}
.art-label {
  position: absolute;
  top: 23px;
  left: 24px;
  font: 10px var(--mono);
  letter-spacing: 0.13em;
  color: #a2b9c7a0;
}
.art-placeholder {
  position: absolute;
  left: 24px;
  bottom: 23px;
  right: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: #8fa9b4;
}
.art-placeholder > span:last-child {
  font: 10px var(--mono);
  letter-spacing: 0.06em;
  color: #719285;
}
.media-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px 2px;
  font-size: 12px;
  color: #92a7b7;
  line-height: 1.6;
}
.media-caption > .media-caption-copy {
  flex: 1;
  min-width: 0;
}
.media-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.media-controls button {
  width: 31px;
  height: 29px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff03;
  color: #a5cbbb;
}
.media-count {
  font: 10px var(--mono);
  color: #7c95a5;
}
.media-error {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  gap: 15px;
  color: #9bafbd;
  font-size: 14px;
  padding: 25px;
  line-height: 1.8;
}
.media-error span {
  font-size: 32px;
  color: var(--accent);
}
.about-layout {
  gap: 75px;
  grid-template-columns: 1fr 1fr;
}
.about-copy h2 {
  font-size: 50px;
}
.about-copy .lead {
  font-size: 18px;
  line-height: 1.95;
}
.values-list {
  margin-top: 26px;
  display: grid;
  gap: 18px;
}
.values-list > div {
  display: flex;
  align-items: flex-start;
  gap: 17px;
}
.values-list > div > span {
  font: 12px var(--mono);
  color: var(--accent);
  padding-top: 4px;
}
.values-list p {
  font-size: 17px;
  color: #d1dedf;
}
.values-list small {
  display: block;
  margin-top: 7px;
  color: #849caf;
  font-size: 13px;
}
.about-art {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 10px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 40%, #1f434640, transparent 65%),
    linear-gradient(135deg, #0f182580, #0a111b80);
}
.about-art-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(#7eaaae0c 1px, transparent 1px),
    linear-gradient(90deg, #7eaaae0c 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(ellipse, #000, transparent 80%);
}
.about-art-label {
  position: absolute;
  top: 27px;
  left: 27px;
  font: 10px var(--mono);
  letter-spacing: 0.15em;
  color: #748f9a;
}
.sculpture {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  transform: rotate(-28deg);
  perspective: 800px;
}
.sculpture-ring {
  position: absolute;
  width: 51%;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid #9ed3c578;
}
.ring-one {
  transform: rotateY(56deg);
  border-width: 10px 1px 7px 3px;
  border-color: #c5dedb95 #a7baba60 #243d47 #4b696d;
  box-shadow:
    inset 4px 0 10px #82f7dc33,
    2px 0 10px #0006;
}
.ring-two {
  transform: rotateY(-56deg) rotateX(25deg);
  border-width: 3px 12px 1px 4px;
  border-color: #99bdb875 #263747 #7989a55c #c7d8db85;
}
.ring-three {
  width: 68%;
  height: 28%;
  transform: rotateX(55deg) rotate(-8deg);
  border-width: 1px;
  border-color: #81b0a86a;
}
.sculpture-core {
  width: 14%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 30% 25%,
    #d2eee2,
    #658a89 28%,
    #1b3040 60%,
    #0b1421 85%
  );
  box-shadow: 0 0 25px #82f7dc18;
  animation: haloBreathe 5s ease-in-out infinite;
}
.about-art-footer {
  position: absolute;
  bottom: 26px;
  left: 27px;
  right: 27px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font: 9px var(--mono);
  color: #738c9c;
  letter-spacing: 0.05em;
}
.about-art-footer > span:last-child {
  font-size: 27px;
  color: #9fbeb5;
}
.closing-layout {
  text-align: center;
  padding: 40px 60px;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    radial-gradient(ellipse at 50% 0, #82f7dc0a, transparent 70%), #0b121f55;
}
.closing-layout:before {
  content: "";
  position: absolute;
  top: 0;
  left: 25%;
  right: 25%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #82f7dc66, transparent);
}
.closing-layout .eyebrow {
  justify-content: center;
  margin-bottom: 15px;
}
.closing-layout .eyebrow:before {
  display: none;
}
.closing-star {
  display: inline-block;
  color: #a3d6c4;
  font-size: 44px;
  line-height: 1;
  margin-bottom: 20px;
}
.closing-layout h2 {
  font-size: 55px;
}
.closing-layout .lead {
  font-size: 18px;
  margin-top: 23px;
}
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}
.closing-signature {
  display: block;
  margin-top: 33px;
  color: #6e899b;
  font: 10px var(--mono);
  letter-spacing: 0.15em;
}
.page-dots {
  position: fixed;
  z-index: 20;
  top: 50%;
  right: var(--gutter);
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.page-dot {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 29px;
  background: transparent;
  color: #73869b;
}
.page-dot:after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #91a8bb55;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.page-dot.active:after {
  background: var(--accent);
  box-shadow: 0 0 0 5px #82f7dc0b;
}
.dot-label {
  position: absolute;
  right: 37px;
  white-space: nowrap;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #091222ee;
  color: #c4dbd7;
  font-size: 11px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(5px);
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.page-dot:hover .dot-label,
.page-dot:focus-visible .dot-label {
  opacity: 1;
  transform: none;
}
.deck-footer {
  position: fixed;
  z-index: 20;
  bottom: 0;
  left: 0;
  right: 0;
  height: 78px;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: linear-gradient(0deg, #050816a0, transparent);
}
.page-counter {
  display: flex;
  align-items: center;
  gap: 13px;
  font: 12px var(--mono);
  color: #72869c;
}
#pageNumber {
  font-size: 18px;
  color: #d6e7e2;
}
.counter-line {
  height: 1px;
  width: 31px;
  background: #a2c5c440;
}
#pageCaption {
  font-family: inherit;
  font-size: 12px;
  letter-spacing: 0.04em;
  margin-left: 9px;
  color: #8e9fb1;
}
.page-hint {
  display: flex;
  align-items: center;
  gap: 11px;
  font-size: 11px;
  color: #859aab;
  letter-spacing: 0.05em;
}
.hint-keyboard {
  font: 10px var(--mono);
  color: #5e768c;
}
.scroll-track {
  width: 15px;
  height: 23px;
  border: 1px solid #8aa8b255;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  padding-top: 5px;
}
.scroll-track i {
  height: 5px;
  width: 2px;
  border-radius: 1px;
  background: var(--accent);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  50% {
    transform: translateY(5px);
    opacity: 0.4;
  }
}
.page-controls {
  justify-self: end;
  display: flex;
  gap: 10px;
}
.page-controls button {
  display: grid;
  place-items: center;
  width: 37px;
  height: 33px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #ffffff03;
  color: #b9d6cf;
  font-size: 20px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.page-controls button:hover:not(:disabled) {
  background: #82f7dc08;
  border-color: #82f7dc50;
}
.deck-progress {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  z-index: 35;
  background: #82f7dc06;
}
.deck-progress > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #82f7dc65, #82f7dc);
  width: 10%;
  transition: width 0.5s var(--ease);
}
@media (max-width: 1100px) and (min-width: 901px) {
  .slide {
    padding-left: 80px;
    padding-right: 80px;
  }
  .brand small {
    font-size: 11px;
  }
  .page-dots {
    right: 28px;
  }
}
@media (max-width: 900px) {
  :root {
    --gutter: 28px;
  }
  .topbar {
    height: 74px;
  }
  .brand {
    font-size: 16px;
    gap: 12px;
  }
  .brand small {
    font-size: 11px;
    margin-left: 7px;
  }
  .view-label {
    font-size: 12px;
    min-width: 110px;
    padding: 8px 14px;
  }
  .top-actions {
    gap: 10px;
  }
  .contents-button {
    font-size: 12px;
  }
  .slide {
    padding: 96px 62px 82px 34px;
  }
  .slide-inner {
    width: 100%;
    zoom: 1 !important;
  }
  .slide-viewport {
    align-items: stretch;
  }
  .hero-layout,
  .contents-layout,
  .project-layout,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-layout {
    gap: 6px;
  }
  .hero-copy {
    text-align: left;
  }
  .slide h1 {
    font-size: clamp(34px, 6vw, 49px);
    line-height: 1.38;
    white-space: normal;
  }
  .slide h2 {
    font-size: clamp(30px, 5vw, 43px);
    line-height: 1.4;
  }
  .eyebrow {
    font-size: 11px;
    margin-bottom: 17px;
  }
  .lead {
    font-size: 16px;
    line-height: 1.9;
    margin-top: 19px;
  }
  .hero-actions {
    margin-top: 24px;
    gap: 25px;
  }
  .button {
    font-size: 14px;
    min-height: 43px;
    padding-inline: 18px;
    gap: 23px;
  }
  .hero-tags {
    margin-top: 25px;
    font-size: 12px;
    gap: 15px;
  }
  .hero-tags > span + span {
    padding-left: 15px;
  }
  .hero-art {
    width: min(76%, 390px);
    margin: -8px auto -2px;
    max-height: 39dvh;
    aspect-ratio: 1;
  }
  .robot-art {
    height: 100%;
    max-height: 39dvh;
  }
  .art-coordinate {
    font-size: 8px;
  }
  .coordinate-top {
    right: 5%;
    top: 1%;
  }
  .coordinate-bottom {
    bottom: 1%;
    left: 10%;
    font-size: 7px;
  }
  .contents-layout {
    gap: 25px;
  }
  .contents-intro h2 br {
    display: none;
  }
  .contents-intro .lead {
    font-size: 15px;
    margin-top: 15px;
  }
  .contents-intro .lead br {
    display: none;
  }
  .contents-total {
    display: none;
  }
  .contents-intro .placeholder-note {
    margin-top: 14px;
    font-size: 11px;
  }
  .index-item {
    padding: 16px 4px;
    gap: 15px;
    grid-template-columns: 24px 76px minmax(0, 1fr) auto;
  }
  .index-copy strong {
    font-size: 20px;
  }
  .index-copy small {
    font-size: 11px;
    margin-top: 5px;
  }
  .index-number {
    font-size: 11px;
  }
  .index-arrow {
    font-size: 22px;
  }
  .project-layout {
    gap: 24px;
  }
  .project-copy h2 {
    font-size: 36px;
  }
  .project-eyebrow {
    font-size: 10px;
    margin-bottom: 13px;
  }
  .project-copy .lead {
    font-size: 16px;
    margin-top: 13px;
  }
  .project-tags {
    gap: 8px;
    margin-top: 15px;
  }
  .project-tags span {
    font-size: 11px;
    padding: 5px 10px;
  }
  .project-details {
    grid-template-columns: 1fr 1fr;
    gap: 19px;
    margin-top: 21px;
    padding-top: 18px;
  }
  .project-details h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }
  .project-details p {
    font-size: 12px;
    line-height: 1.85;
  }
  .project-copy > .placeholder-note {
    font-size: 10px;
    margin-top: 14px;
  }
  .media-stage {
    aspect-ratio: 1.7;
    max-height: 35dvh;
    min-height: 170px;
  }
  .art-label {
    font-size: 8px;
    top: 15px;
    left: 17px;
  }
  .art-placeholder {
    left: 17px;
    right: 17px;
    bottom: 15px;
    font-size: 10px;
  }
  .art-placeholder > span:last-child {
    font-size: 8px;
  }
  .media-caption {
    font-size: 11px;
    padding-top: 12px;
    padding-bottom: 0;
  }
  .media-count {
    font-size: 9px;
  }
  .about-copy .lead {
    font-size: 15px;
  }
  .values-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 23px;
  }
  .values-list > div {
    gap: 9px;
  }
  .values-list > div > span {
    font-size: 10px;
  }
  .values-list p {
    font-size: 13px;
    line-height: 1.7;
  }
  .values-list small {
    font-size: 11px;
  }
  .about-copy > .placeholder-note {
    margin-top: 17px;
    font-size: 11px;
  }
  .about-art {
    width: 100%;
    height: 28dvh;
    min-height: 170px;
    max-height: 290px;
    aspect-ratio: auto;
  }
  .sculpture-ring {
    width: 34%;
    max-width: 175px;
  }
  .ring-three {
    width: 48%;
    max-width: 240px;
    height: 29%;
  }
  .sculpture-core {
    width: 10%;
    max-width: 49px;
  }
  .about-art-label {
    font-size: 8px;
    top: 18px;
    left: 20px;
  }
  .about-art-footer {
    font-size: 7px;
    bottom: 17px;
    left: 20px;
    right: 20px;
  }
  .about-art-footer > span:last-child {
    font-size: 23px;
  }
  .closing-layout {
    padding: 35px 25px;
  }
  .closing-layout h2 {
    font-size: 36px;
  }
  .closing-layout .lead {
    font-size: 15px;
  }
  .closing-signature {
    font-size: 8px;
    letter-spacing: 0.08em;
  }
  .closing-star {
    font-size: 40px;
  }
  .page-dots {
    right: 16px;
    gap: 2px;
  }
  .page-dot {
    height: 26px;
    width: 25px;
  }
  .deck-footer {
    height: 68px;
  }
  .page-counter {
    gap: 10px;
    font-size: 11px;
  }
  #pageNumber {
    font-size: 16px;
  }
  #pageCaption {
    font-size: 11px;
    margin-left: 5px;
  }
  .page-hint {
    font-size: 10px;
    gap: 8px;
  }
  .hint-keyboard {
    display: none;
  }
  .page-controls {
    gap: 8px;
  }
  .page-controls button {
    width: 34px;
    height: 31px;
    font-size: 18px;
  }
  .counter-line {
    width: 25px;
  }
}
@media (max-width: 540px) {
  :root {
    --gutter: 23px;
  }
  .topbar {
    height: 66px;
    grid-template-columns: 1fr auto;
  }
  .brand {
    font-size: 15px;
    gap: 12px;
  }
  .brand small {
    font-size: 10px;
    margin-left: 5px;
    letter-spacing: 0.02em;
  }
  .brand-orbit {
    width: 23px;
    height: 23px;
  }
  .brand-orbit:before {
    width: 31px;
    height: 9px;
  }
  .view-label {
    display: none;
  }
  .top-actions {
    gap: 7px;
  }
  .contents-button {
    font-size: 11px;
    padding: 8px 9px;
  }
  .contents-button svg {
    width: 13px;
    height: 13px;
  }
  .contents-button span {
    display: none;
  }
  .music-button {
    padding: 8px;
  }
  .music-button span {
    display: none;
  }
  .slide {
    padding: 85px 39px 76px 23px;
  }
  .slide h1 {
    font-size: clamp(29px, 7.5vw, 39px);
    letter-spacing: -0.045em;
  }
  .slide h2 {
    font-size: 29px;
  }
  .eyebrow {
    font-size: 9px;
    gap: 9px;
    margin-bottom: 15px;
    letter-spacing: 0.1em;
  }
  .eyebrow:before {
    width: 19px;
  }
  .lead {
    font-size: 14px;
    margin-top: 19px;
    line-height: 1.95;
  }
  .hero-actions {
    gap: 20px;
    margin-top: 23px;
  }
  .button {
    font-size: 12px;
    min-height: 42px;
    padding-inline: 16px;
    gap: 20px;
  }
  .hero-tags {
    font-size: 10px;
    gap: 12px;
    margin-top: 24px;
    letter-spacing: 0.03em;
  }
  .hero-tags > span + span {
    padding-left: 12px;
  }
  .hero-art {
    width: min(100%, 340px);
    max-height: 34dvh;
    margin: 0 auto;
  }
  .robot-art {
    max-height: 34dvh;
  }
  .coordinate-top {
    top: 0;
    right: 4%;
    font-size: 6px;
  }
  .coordinate-bottom {
    bottom: 0;
    left: 7%;
    font-size: 6px;
  }
  .contents-layout {
    gap: 24px;
  }
  .contents-intro h2 br {
    display: block;
  }
  .contents-intro .lead {
    font-size: 13px;
    line-height: 1.8;
  }
  .contents-intro .lead br {
    display: block;
  }
  .contents-intro .placeholder-note {
    font-size: 9px;
    margin-top: 12px;
  }
  .index-item {
    padding: 13px 2px;
    grid-template-columns: 18px 58px minmax(0, 1fr) auto;
    gap: 9px;
  }
  .index-copy strong {
    font-size: 17px;
  }
  .index-copy small {
    font-size: 10px;
  }
  .index-number {
    font-size: 10px;
  }
  .index-arrow {
    font-size: 19px;
  }
  .project-layout {
    gap: 22px;
  }
  .project-copy h2 {
    font-size: 34px;
  }
  .project-copy .lead {
    font-size: 14px;
    line-height: 1.8;
    margin-top: 13px;
  }
  .project-eyebrow {
    font-size: 9px;
    margin-bottom: 13px;
  }
  .project-tags {
    margin-top: 15px;
  }
  .project-tags span {
    font-size: 10px;
    padding: 5px 9px;
  }
  .project-details {
    margin-top: 21px;
    padding-top: 18px;
    gap: 15px;
  }
  .project-details h3 {
    font-size: 13px;
  }
  .project-details p {
    font-size: 12px;
  }
  .project-copy > .placeholder-note {
    font-size: 9px;
    margin-top: 15px;
  }
  .media-stage {
    aspect-ratio: 1.5;
    min-height: 160px;
    max-height: 29dvh;
  }
  .media-caption {
    font-size: 10px;
  }
  .media-controls {
    gap: 8px;
  }
  .media-controls button {
    width: 29px;
    height: 28px;
  }
  .media-count {
    font-size: 8px;
  }
  .art-placeholder {
    font-size: 9px;
  }
  .art-placeholder > span:last-child {
    font-size: 7px;
  }
  .about-layout {
    gap: 24px;
  }
  .about-copy h2 {
    font-size: 29px;
  }
  .about-copy .lead {
    font-size: 13px;
    line-height: 1.9;
  }
  .values-list {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 22px;
  }
  .values-list > div {
    gap: 12px;
  }
  .values-list p {
    font-size: 13px;
  }
  .values-list small {
    font-size: 11px;
    margin-top: 3px;
  }
  .about-copy > .placeholder-note {
    font-size: 9px;
    margin-top: 15px;
  }
  .about-art {
    height: 25dvh;
    min-height: 150px;
  }
  .about-art-label {
    font-size: 7px;
  }
  .about-art-footer {
    font-size: 6px;
  }
  .sculpture-ring {
    width: 36%;
    max-width: 145px;
  }
  .ring-three {
    width: 55%;
    max-width: 220px;
  }
  .closing-layout {
    padding: 33px 17px;
  }
  .closing-layout h2 {
    font-size: clamp(22px, 6vw, 28px);
    line-height: 1.65;
  }
  .closing-layout .lead {
    font-size: 12px;
    line-height: 2;
    margin-top: 20px;
  }
  .closing-layout .eyebrow {
    font-size: 8px;
    letter-spacing: 0.12em;
  }
  .closing-star {
    font-size: 36px;
    margin-bottom: 18px;
  }
  .closing-actions {
    margin-top: 23px;
  }
  .closing-signature {
    font-size: 6px;
    letter-spacing: 0.03em;
    margin-top: 28px;
  }
  .page-dots {
    right: 5px;
    gap: 0;
  }
  .page-dot {
    width: 24px;
    height: 24px;
  }
  .dot-label {
    right: 29px;
    font-size: 10px;
  }
  .deck-footer {
    height: 63px;
    grid-template-columns: 1fr auto;
  }
  .page-counter {
    gap: 9px;
    font-size: 10px;
  }
  #pageNumber {
    font-size: 15px;
  }
  #pageCaption {
    font-size: 10px;
    margin-left: 3px;
  }
  .counter-line {
    width: 21px;
  }
  .page-hint {
    display: none;
  }
  .page-controls {
    gap: 7px;
  }
  .page-controls button {
    width: 33px;
    height: 31px;
  }
  .slide:before {
    font-size: 150px;
    right: 40px;
    bottom: 80px;
  }
}
@media (max-height: 550px) and (min-width: 901px) {
  .topbar {
    height: 66px;
  }
  .slide {
    padding-top: 85px;
    padding-bottom: 70px;
  }
  .deck-footer {
    height: 58px;
  }
  .page-dot {
    height: 23px;
  }
}
@media (max-height: 500px) and (max-width: 900px) {
  .topbar {
    height: 55px;
  }
  .slide {
    padding-top: 70px;
    padding-bottom: 62px;
  }
  .deck-footer {
    height: 52px;
  }
  .hero-art {
    display: none;
  }
  .page-dot {
    height: 20px;
  }
  .about-art {
    min-height: 180px;
  }
  .media-stage {
    min-height: 210px;
  }
}
@media (max-width: 380px) {
  .brand small {
    display: none;
  }
}
@media (max-width: 540px) {
  .page-dot .dot-label {
    display: none;
  }
}

/* Real media preserve their source proportions at each viewport size. */
@media (max-width: 900px) {
  .media-stage {
    aspect-ratio: var(--media-aspect, 1.7);
  }
  .media-stage.is-portrait {
    width: min(100%, 240px);
    aspect-ratio: 9 / 16;
    max-height: none;
    min-height: 0;
  }
  .video-play-icon {
    width: 56px;
    height: 56px;
  }
  .video-preview-label {
    font-size: 11px;
  }
  .video-duration {
    font-size: 10px;
    right: 12px;
    bottom: 12px;
  }
  .media-thumbnails {
    padding-top: 13px;
  }
  .media-thumbnail {
    flex-basis: 92px;
    width: 92px;
    height: 77px;
  }
  .media-thumbnail img {
    height: 49px;
  }
  .media-thumbnail-type {
    top: 27px;
  }
}

/* Keep the full contents slide; expose a persistent jump list from slide three. */
.side-nav {
  position: fixed;
  z-index: 24;
  right: var(--gutter);
  top: 50%;
  transform: translateY(-50%);
  width: 176px;
  padding: 13px 10px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(150deg, #152033e8, #08121fe8);
  backdrop-filter: blur(20px);
  box-shadow: 0 15px 45px #0002;
}
.has-side-nav .slide {
  padding-right: calc(var(--gutter) + 208px);
}
.side-nav-header {
  min-height: 29px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 9px 10px;
  color: #7896a7;
}
.side-nav-heading {
  font-size: 10px;
  letter-spacing: 0.13em;
  white-space: nowrap;
}
.side-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 4px;
  background: transparent;
  color: #a5c7bf;
}
.side-nav-toggle svg {
  width: 16px;
  height: 16px;
}
.side-nav-items {
  display: flex;
  flex-direction: column;
  gap: 5px;
  max-height: calc(100dvh - 240px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: #82f7dc35 transparent;
  padding: 3px;
}
.side-nav-link {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 39px;
  width: 100%;
  padding: 8px;
  border: 1px solid transparent;
  border-radius: 5px;
  background: transparent;
  color: #91a4b5;
  text-align: left;
  transition:
    color 0.2s,
    background 0.2s,
    border-color 0.2s;
}
.side-nav-link:hover {
  color: #d4ece3;
  background: #ffffff05;
}
.side-nav-link.active {
  border-color: #82f7dc42;
  background: #82f7dc12;
  color: #b9f6e3;
  box-shadow: inset 2px 0 var(--accent);
}
.side-nav-link:focus-visible {
  outline-offset: -2px;
}
.side-nav-number {
  font: 10px var(--mono);
  color: #6f8f9f;
}
.side-nav-link.active .side-nav-number {
  color: var(--accent);
}
.side-nav-text {
  font-size: 11px;
  line-height: 1.5;
  white-space: nowrap;
}
@media (max-width: 1280px) {
  .side-nav {
    right: 15px;
    width: 49px;
    padding: 7px 3px 6px;
    border-radius: 8px;
  }
  .has-side-nav .slide {
    padding-right: 85px;
  }
  .side-nav-header {
    justify-content: center;
    padding: 0 0 5px;
  }
  .side-nav-toggle {
    display: inline-flex;
  }
  .side-nav-heading,
  .side-nav-text {
    display: none;
  }
  .side-nav-items {
    gap: 4px;
    padding: 2px;
    max-height: calc(100dvh - 225px);
  }
  .side-nav-link {
    justify-content: center;
    min-height: 34px;
    padding: 7px 3px;
  }
  .side-nav-number {
    font-size: 11px;
  }
  .side-nav.is-open {
    width: 182px;
    padding-inline: 8px;
    box-shadow: 0 16px 50px #0008;
  }
  .side-nav.is-open .side-nav-header {
    padding-inline: 8px;
    justify-content: space-between;
  }
  .side-nav.is-open .side-nav-heading,
  .side-nav.is-open .side-nav-text {
    display: inline;
  }
  .side-nav.is-open .side-nav-link {
    justify-content: flex-start;
    gap: 12px;
    padding-inline: 10px;
  }
}
@media (max-width: 900px) {
  .has-side-nav .slide {
    padding-right: 72px;
  }
  .side-nav {
    right: 10px;
    width: 46px;
  }
}
@media (max-width: 540px) {
  .has-side-nav .slide {
    padding-right: 63px;
  }
  .side-nav {
    right: 6px;
    width: 43px;
    padding-inline: 2px;
  }
  .side-nav-link {
    min-height: 33px;
  }
  .side-nav-number {
    font-size: 10px;
  }
  .side-nav-items {
    max-height: calc(100dvh - 190px);
  }
}
@media (max-height: 550px) {
  .side-nav-items {
    max-height: calc(100dvh - 170px);
  }
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
}

/* The contents page pairs a visual index with lightweight direction filters. */
.project-browser {
  min-width: 0;
}
.project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 17px;
}
.project-filter {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #ffffff03;
  color: #9aafbf;
  font-size: 12px;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.project-filter span {
  font: 10px var(--mono);
  opacity: 0.7;
}
.project-filter:hover,
.project-filter.is-current {
  color: #c7f6e7;
  border-color: #82f7dc55;
  background: #82f7dc0c;
}
.index-cover {
  display: block;
  width: 76px;
  aspect-ratio: 1.58;
  overflow: hidden;
  border: 1px solid #a7c6d022;
  border-radius: 4px;
  background: #081120;
}
.index-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.index-item:hover .index-cover img {
  transform: scale(1.08);
}
.index-copy {
  min-width: 0;
}
.filter-status {
  margin-top: 12px;
  color: #7d96a9;
  font-size: 11px;
  line-height: 1.6;
}
.media-description {
  margin: -3px 2px 14px;
  color: #8fa5b4;
  font-size: 12px;
  line-height: 1.85;
}
.image-expand {
  position: absolute;
  right: 12px;
  bottom: 12px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #d1efea55;
  border-radius: 5px;
  background: #071422df;
  color: #d1f2e7;
  font-size: 12px;
  backdrop-filter: blur(10px);
}
.image-expand:hover {
  background: #14312de8;
}
.image-expand:focus-visible {
  outline-offset: -4px;
}
.media-error button {
  justify-self: center;
  padding: 9px 18px;
  border: 1px solid #82f7dc55;
  border-radius: 4px;
  color: #c2eddf;
  background: #82f7dc0c;
  font-size: 13px;
}
.image-dialog {
  width: min(94vw, 1280px);
  max-width: 94vw;
  max-height: 92dvh;
  margin: auto;
  padding: 0;
  border: 1px solid #8fbab94a;
  border-radius: 10px;
  background: #0a1321;
  color: var(--ink);
  box-shadow: 0 30px 100px #0008;
}
.image-dialog[open] {
  display: flex;
  flex-direction: column;
}
.image-dialog::backdrop {
  background: #020711e8;
  backdrop-filter: blur(12px);
}
.image-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 20px;
  border-bottom: 1px solid var(--line);
}
.image-dialog-header p {
  font-size: 14px;
  line-height: 1.7;
}
.image-dialog-header button {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #ffffff05;
  font-size: 12px;
}
.image-dialog-header button span {
  font-size: 22px;
  line-height: 1;
}
.image-dialog-body {
  min-height: 0;
  background: #040914;
}
.image-dialog-body img {
  display: block;
  width: 100%;
  max-height: 70dvh;
  object-fit: contain;
}
.image-dialog-caption {
  padding: 13px 20px;
  color: #a4bac7;
  font-size: 12px;
  line-height: 1.8;
}
@media (max-width: 540px) {
  .project-filters {
    gap: 6px;
    margin-bottom: 12px;
  }
  .project-filter {
    min-height: 38px;
    padding: 8px 9px;
    font-size: 11px;
  }
  .index-cover {
    width: 58px;
  }
  .index-copy strong {
    font-size: 15px;
    gap: 5px;
  }
  .index-formats {
    display: none;
  }
  .index-item:hover {
    padding-inline: 2px;
  }
  .filter-status,
  .media-description {
    font-size: 11px;
  }
  .image-dialog-header {
    padding: 10px 12px;
  }
  .image-dialog-header p {
    font-size: 12px;
  }
  .image-dialog-caption {
    padding: 12px;
    font-size: 11px;
  }
}
.contact-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 260px;
  max-width: 100%;
  padding: 15px 20px;
  border: 1px solid #82f7dc2c;
  border-radius: 6px;
  background: #82f7dc05;
  text-align: left;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.contact-link:hover {
  border-color: #82f7dc70;
  background: #82f7dc0c;
}
.contact-link-text {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.contact-link-label {
  font: 10px var(--mono);
  letter-spacing: 0.13em;
  color: #82b3a4;
}
.contact-link-value {
  font-size: 17px;
  line-height: 1.5;
  color: #d4e7df;
  overflow-wrap: anywhere;
}
.contact-link-arrow {
  color: var(--accent);
  font-size: 22px;
  flex-shrink: 0;
}
@media (max-width: 540px) {
  .contact-links {
    gap: 10px;
    margin-top: 23px;
  }
  .contact-link {
    width: 100%;
    min-width: 0;
    padding: 12px;
    gap: 10px;
  }
  .contact-link-label {
    font-size: 8px;
  }
  .contact-link-value {
    font-size: 13px;
  }
  .contact-link-arrow {
    font-size: 18px;
  }
}
