@import url("https://fonts.googleapis.com/css2?family=Public+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Space+Grotesk:wght@400;500;600;700&display=swap");

:root {
  --bg: #fdfdfd;
  --surface: #ffffff;
  --text: #111111;
  --muted: #415f58;
  --line: #5a7d75;
  --container-width: min(1180px, 92vw);
  --container-gutter: calc((100vw - var(--container-width)) / 2);
  --font-text: "Public Sans", Arial, sans-serif;
  --font-heading: "Space Grotesk", Arial, sans-serif;
  --type-small: 10pt;
  --type-medium: 20pt;
  --type-large: 40pt;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--type-small);
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand,
.year-heading,
.project-title {
  font-family: var(--font-heading);
}

.background-animation {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.background-animation-lines {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  opacity: 0.3;
  object-fit: cover;
  object-position: center center;
  filter: none;
  -webkit-clip-path: circle(145% at 50% 50%);
  clip-path: circle(145% at 50% 50%);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0) scale(1.08);
  transform-origin: center center;
  animation: background-terrain-drift 56s ease-in-out var(--contour-drift-delay, 0s) infinite alternate;
  transition:
    clip-path 420ms cubic-bezier(0.62, 0, 0.2, 1),
    opacity 420ms ease,
    transform 420ms ease;
}

.background-animation-lines :is(polyline, path) {
  fill: none;
  stroke: var(--contour-line-color, var(--line)) !important;
  stroke-width: 0.55 !important;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  opacity: 0;
  stroke-dasharray: 0 0.5 0 0.5;
  stroke-dashoffset: 0.25;
  animation: background-contour-draw 9s cubic-bezier(0.58, 0, 0.16, 1) var(--contour-delay, 0s) both;
}

.background-animation-lines rect,
.background-animation-lines text {
  display: none;
}

.background-animation-lines.is-undrawing {
  opacity: 0.34;
  -webkit-clip-path: circle(145% at 50% 50%);
  clip-path: circle(145% at 50% 50%);
  transform: translate3d(0, 0, 0) scale(1.08);
}

.background-animation-lines.is-redrawing {
  opacity: 0.34;
}

.background-animation-lines.is-static :is(polyline, path) {
  animation: none !important;
  opacity: 0.96;
  stroke-dasharray: 0.5 0 0.5 0;
  stroke-dashoffset: 0.25;
}

.background-animation-lines.is-undrawing :is(polyline, path) {
  animation: background-contour-undraw 1050ms cubic-bezier(0.72, 0, 0.18, 1) both !important;
}

@keyframes background-terrain-drift {
  from {
    transform: translate3d(-1vw, -0.7vh, 0) scale(1.08);
  }

  to {
    transform: translate3d(1vw, 0.7vh, 0) scale(1.11);
  }
}

@keyframes background-contour-draw {
  0% {
    opacity: 0;
    stroke-dasharray: 0 0.5 0 0.5;
    stroke-dashoffset: 0.25;
  }

  12% {
    opacity: 0.96;
  }

  72%,
  100% {
    opacity: 0.96;
    stroke-dasharray: 0.5 0 0.5 0;
    stroke-dashoffset: 0.25;
  }
}

@keyframes background-contour-undraw {
  0% {
    opacity: var(--frozen-opacity, 0.96);
    stroke-dasharray: 0.5 0 0.5 0;
    stroke-dashoffset: 0.25;
  }

  88% {
    opacity: var(--frozen-opacity, 0.96);
  }

  to {
    opacity: 0;
    stroke-dasharray: 0 0.5 0 0.5;
    stroke-dashoffset: 0.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  .background-animation-lines {
    animation: none;
  }

  .background-animation-lines :is(polyline, path) {
    animation: none !important;
    opacity: 0.9;
    stroke-dasharray: none;
    stroke-dashoffset: 0;
  }
}

/* Concise project-page prototype: CYKLUS PROMĚNY. */
.concise-project-page {
  --line: #000000;
  --text: #000000;
  --muted: #000000;
  --index-page-gutter: clamp(2rem, 3.5vw, 4rem);
  --index-drawer-heading-size: clamp(var(--type-medium), 4vw, var(--type-large));
  background: var(--surface);
}

.concise-project-background .background-animation-lines {
  --contour-line-color: #000000;
  opacity: 0.22;
}

.site-header.concise-project-nameplate {
  position: relative;
  z-index: 120;
  display: flex;
  width: 100vw;
  max-width: none;
  height: clamp(6.5rem, 8vw, 8rem);
  min-height: 6.5rem;
  align-items: center;
  margin: clamp(3rem, 6vw, 6rem) 0 0;
  padding: 0 var(--index-page-gutter);
  overflow: hidden;
  background: #000;
}

.site-header.concise-project-nameplate a {
  display: flex;
  height: 100%;
  max-width: 100%;
  align-items: center;
}

.site-header.concise-project-nameplate img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
}

.concise-project-shell {
  --project-page-gutter: var(--index-page-gutter);
  width: 100%;
  padding: clamp(1.5rem, 2.2vw, 2.75rem) var(--project-page-gutter) clamp(3rem, 8vw, 7rem);
}

.concise-project {
  --project-spine-x: 0rem;
  --project-body-start: 2.75rem;
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.concise-project::before {
  content: "";
  position: absolute;
  top: 2.15rem;
  bottom: auto;
  left: var(--project-spine-x);
  z-index: -1;
  width: 2px;
  height: var(--project-spine-height, calc(100% - 4.3rem));
  background-color: #000000;
  opacity: 1;
}

.concise-project-heading {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 4.25rem;
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
}

.concise-project-heading h1 {
  grid-column: 1;
  display: block;
  width: fit-content;
  max-width: calc(100% - 2.75rem);
  margin: 0 0 0 var(--project-body-start);
  padding: 0.08em 0.2em 0.14em;
  background: var(--line);
  color: var(--surface);
  font-family: var(--font-heading);
  font-size: var(--index-drawer-heading-size);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.concise-project-title-track {
  display: flex;
  width: max-content;
  align-items: center;
  white-space: nowrap;
}

.concise-project-title-track > span:last-child {
  display: none;
}

.concise-project-symbol {
  position: relative;
  z-index: 2;
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  justify-self: center;
  border: 0;
  background: var(--line);
  color: var(--surface);
  font-family: var(--font-heading);
  font-size: 2rem;
  line-height: 1;
  text-decoration: none;
}

.concise-project-back {
  position: absolute;
  top: 50%;
  left: var(--project-spine-x);
  transform: translate(-50%, -50%);
}

.concise-project-nav {
  grid-column: 2;
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.35rem;
}

.concise-project.is-project-nav-floating .concise-project-back {
  position: fixed;
  top: clamp(0.85rem, 2.5vw, 2rem);
  left: var(--project-floating-star-left);
  z-index: 300;
  transform: translateX(-50%);
}

.concise-project.is-project-nav-floating .concise-project-nav {
  position: fixed;
  top: clamp(0.85rem, 2.5vw, 2rem);
  right: var(--project-page-gutter);
  z-index: 300;
}

.concise-project-nav-link {
  justify-self: auto;
}

.concise-project-nav-triangles {
  display: flex;
  align-items: center;
  gap: 0.12rem;
}

.concise-project-nav-triangles i {
  display: block;
  width: 0;
  height: 0;
  border-top: 0.42rem solid transparent;
  border-bottom: 0.42rem solid transparent;
}

.concise-project-nav-link--next .concise-project-nav-triangles i {
  border-left: 0.65rem solid currentColor;
}

.concise-project-nav-link--previous .concise-project-nav-triangles i {
  border-right: 0.65rem solid currentColor;
}

.concise-project-scroll-top {
  position: fixed;
  right: var(--project-page-gutter);
  bottom: clamp(0.85rem, 2.5vw, 2rem);
  z-index: 300;
  flex: 0 0 2.25rem;
  width: 2.25rem;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.75rem);
  transition: opacity 180ms ease, transform 180ms ease, visibility 0s linear 180ms;
}

.concise-project.is-project-nav-floating .concise-project-scroll-top,
.concise-project-scroll-top.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
  transition-delay: 0s;
}

.concise-project-scroll-top-triangles {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
}

.concise-project-scroll-top-triangles i {
  display: block;
  width: 0;
  height: 0;
  border-right: 0.42rem solid transparent;
  border-bottom: 0.65rem solid currentColor;
  border-left: 0.42rem solid transparent;
}

@media (prefers-reduced-motion: reduce) {
  .concise-project-scroll-top {
    transition: none;
  }
}

.concise-project-symbol:hover,
.concise-project-symbol:focus-visible {
  background: var(--text);
}

.concise-project-symbol:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 0.35rem;
}

.concise-project-intro {
  --project-content-offset: var(--project-body-start);
  display: grid;
  grid-template-columns: minmax(18rem, 0.8fr) minmax(25rem, 1.35fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
  padding:
    0
    0
    clamp(3rem, 9vw, 8rem)
    calc(var(--project-spine-x) + var(--project-spine-x) + var(--project-body-start));
}

.concise-project-intro-copy {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
}

.concise-project-intro--without-hero {
  grid-template-columns: minmax(18rem, 42rem);
}

.concise-project-facts {
  display: grid;
  gap: clamp(0.55rem, 1.2vw, 0.9rem);
  width: 100%;
  max-width: 62ch;
  margin: 0;
  font-family: var(--font-text);
  font-size: clamp(var(--type-small), 1.05vw, 0.98rem);
  text-align: left;
}

.concise-project-info-block,
.concise-project-highlight,
.concise-project-annotation {
  position: relative;
}

.concise-project-spine-label {
  --spine-label-width: 2.25rem;
  position: absolute;
  top: 0;
  right: calc(100% + var(--project-content-offset) - (var(--spine-label-width) / 2));
  z-index: 2;
  display: grid;
  width: var(--spine-label-width);
  min-height: max-content;
  margin: 0;
  place-items: center;
  padding-block: 0.2rem;
  background: var(--surface);
  box-shadow: 0 0 0 0.55rem var(--surface);
  font-family: var(--font-heading);
  font-size: var(--type-medium);
  font-weight: 500;
  line-height: 1;
  text-transform: lowercase;
  white-space: nowrap;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.concise-project-fact {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: clamp(1rem, 4vw, 3.5rem);
  align-items: baseline;
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  line-height: 1.25;
  text-align: left;
}

.concise-project-fact dt {
  grid-column: 1;
  grid-row: 1;
  color: color-mix(in srgb, var(--text) 48%, transparent);
  font-weight: 650;
  text-align: left;
  opacity: 0;
  clip-path: inset(0 0 0 100%);
  transform: translateX(0.45rem);
  text-transform: uppercase;
  animation: concise-project-fact-detail-in 720ms cubic-bezier(0.22, 0.8, 0.2, 1) both;
  animation-delay: calc(760ms + (var(--fact-order) * 125ms));
}

.concise-project-fact dd {
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  color: var(--text);
  font-weight: 750;
  justify-self: end;
  opacity: 0;
  text-align: right;
  overflow-wrap: anywhere;
  transform: translateY(-0.35rem);
  animation: concise-project-fact-label-in 420ms ease both;
  animation-delay: calc(240ms + (var(--fact-order) * 110ms));
}

.concise-project-fact--left dd {
  position: static;
  width: auto;
  text-align: right;
  translate: none;
}

.concise-project-highlight {
  width: 100%;
  max-width: 62ch;
  padding: 0;
  background: transparent;
  color: var(--text);
  font-family: var(--font-text);
  font-size: clamp(var(--type-small), 1.05vw, 0.98rem);
  line-height: 1.65;
  text-align: justify;
  text-wrap: pretty;
  white-space: pre-line;
}

.concise-project-highlight p {
  margin: 0;
}

.concise-project-highlight p + p {
  margin-top: 0.35em;
}

.concise-project-highlight-mark {
  padding: 0.12em 0.28em;
  background: var(--text);
  box-decoration-break: clone;
  color: var(--surface);
  -webkit-box-decoration-break: clone;
}

.concise-project-highlight strong {
  font-weight: 750;
}

.concise-project-highlight a {
  color: inherit;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.concise-project-highlight a:hover,
.concise-project-highlight a:focus-visible {
  text-decoration-thickness: 2px;
}

.concise-project.skip-fact-intro .concise-project-fact dt,
.concise-project.skip-fact-intro .concise-project-fact dd {
  opacity: 1;
  clip-path: none;
  transform: none;
  animation: none;
}

@keyframes concise-project-fact-label-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes concise-project-fact-detail-in {
  to {
    opacity: 1;
    clip-path: inset(0);
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .concise-project-fact dt,
  .concise-project-fact dd {
    opacity: 1;
    clip-path: none;
    transform: none;
    animation: none;
  }
}

.concise-project-annotation h2:not(.concise-project-spine-label) {
  margin: 0 0 0.65rem;
  font-family: var(--font-heading);
  font-size: var(--type-medium);
  font-weight: 500;
  line-height: 1;
  text-transform: none;
}

.concise-project-section h2 {
  margin: 0 0 0.65rem;
  font-family: var(--font-text);
  font-size: clamp(var(--type-small), 1.05vw, 0.98rem);
  font-weight: 400;
  line-height: 1.5;
  text-transform: uppercase;
}

.concise-project-annotation p {
  width: 100%;
  max-width: 62ch;
  margin: 0;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  font-size: clamp(var(--type-small), 1.05vw, 0.98rem);
  line-height: 1.5;
  text-align: justify;
  text-wrap: pretty;
  white-space: pre-line;
}

.concise-project-hero {
  margin: 0;
  background: var(--surface);
}

.concise-project-hero img,
.concise-project-section img {
  display: block;
  width: 100%;
  height: auto;
}

.concise-project-hero img {
  max-height: none;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
}

.concise-project-featured {
  display: grid;
  gap: clamp(4rem, 12vw, 11rem);
}

.concise-project-section {
  --feature-label-clearance: 0px;
  position: relative;
  isolation: isolate;
  padding-left: calc(var(--project-spine-x) + var(--project-spine-x) + var(--project-body-start));
}

.concise-project-section::before {
  content: "";
  position: absolute;
  top: var(--feature-connector-top, 50%);
  left: var(--project-spine-x);
  width: var(--feature-connector-width, 0);
  height: 2px;
  background: var(--line);
}

.concise-project-section h2 {
  display: block;
  margin: 0;
  padding: 0;
  background: transparent;
  white-space: normal;
}

.concise-project-section figure {
  position: relative;
  z-index: 1;
  width: min(calc(100% - var(--feature-label-clearance)), 68rem);
  margin: clamp(1rem, 3vw, 2.25rem) 0 0;
  margin-left: var(--feature-label-clearance);
  background: var(--surface);
}

.concise-project-carousel-viewport {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  background: var(--surface);
  transition: aspect-ratio 280ms ease;
}

.concise-project-carousel-viewport.is-clickable {
  cursor: pointer;
}

.concise-project-hero.is-clickable {
  cursor: zoom-in;
}

.concise-project-carousel-viewport.is-clickable:focus-visible,
.concise-project-hero.is-clickable:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 0.25rem;
}

.project-image-lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  border: 0;
  padding: clamp(1rem, 3vw, 2.5rem);
  background: color-mix(in srgb, var(--surface) 22%, transparent);
  overflow: hidden;
}

.project-image-lightbox::backdrop {
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(10px);
}

.project-image-lightbox-stage {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  overflow: hidden;
}

.project-image-lightbox-stage img {
  display: block;
  max-width: min(92vw, 110rem);
  max-height: 88vh;
  max-height: 88dvh;
  object-fit: contain;
  cursor: grab;
  touch-action: none;
  transform-origin: center;
  user-select: none;
  will-change: transform;
}

.project-image-lightbox-stage img:active {
  cursor: grabbing;
}

.project-image-lightbox button {
  position: fixed;
  z-index: 2;
  display: grid;
  width: 50px;
  min-width: 50px;
  height: 50px;
  min-height: 50px;
  place-items: center;
  border: 0;
  padding: 0;
  background: var(--text);
  color: var(--surface);
  font-family: var(--font-heading);
  font-size: 0;
  line-height: 1;
  cursor: pointer;
}

.project-image-lightbox button[hidden] {
  display: none;
}

.project-image-lightbox-close {
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
}

.project-image-lightbox-close .project-index-symbol-mark {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
}

.project-image-lightbox-close .project-index-symbol-mark::before,
.project-image-lightbox-close .project-index-symbol-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 5px;
  background: currentColor;
  transform: translate(-50%, -50%) rotate(45deg);
}

.project-image-lightbox-close .project-index-symbol-mark::after {
  transform: translate(-50%, -50%) rotate(135deg);
}

.project-image-lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
}

.project-image-lightbox-nav--previous {
  left: clamp(1rem, 3vw, 2rem);
}

.project-image-lightbox-nav--next {
  right: clamp(1rem, 3vw, 2rem);
}

.project-image-lightbox-counter {
  position: fixed;
  right: 50%;
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 2;
  padding: 0.35rem 0.65rem;
  background: var(--text);
  color: var(--surface);
  font-weight: 700;
  transform: translateX(50%);
}

.concise-project-carousel-viewport img,
.concise-project-carousel-viewport video {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.concise-project-carousel-slide {
  visibility: hidden;
  opacity: 0;
  transform: translateX(-100%);
  will-change: transform;
}

.concise-project-carousel-slide.is-active {
  visibility: visible;
  z-index: 1;
  opacity: 1;
  transform: translateX(0);
}

@media (prefers-reduced-motion: reduce) {
  .concise-project-carousel-viewport {
    transition: none;
  }

  .concise-project-carousel-slide {
    will-change: auto;
  }
}

.concise-project-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.2rem;
  margin-left: 0;
}

.concise-project-carousel-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 2rem;
  padding-top: 0.55rem;
}

.concise-project-carousel-dot {
  position: relative;
  display: grid;
  flex: 0 0 1.25rem;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.concise-project-carousel-dot::before {
  content: "";
  display: block;
  width: 0.55rem;
  height: 0.55rem;
  border: 1.5px solid var(--text);
  border-radius: 50%;
  background: transparent;
  transition: background-color 180ms ease, transform 180ms ease;
}

.concise-project-carousel-dot.is-selected::before {
  background: var(--text);
}

.concise-project-carousel-dot:hover::before {
  transform: scale(1.2);
}

.concise-project-day-night-image {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.concise-project-day-night-image--night {
  z-index: 1;
  transition: opacity 80ms linear;
}

.concise-project-day-night-slider {
  width: 4.2rem;
  height: 1.25rem;
  margin: 0;
  padding: 0;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
}

.concise-project-day-night-slider::-webkit-slider-runnable-track {
  height: 1.5px;
  background: var(--text);
}

.concise-project-day-night-slider::-webkit-slider-thumb {
  width: 0.55rem;
  height: 0.55rem;
  margin-top: calc((1.5px - 0.55rem) / 2);
  appearance: none;
  border: 1.5px solid var(--text);
  border-radius: 50%;
  background: var(--surface);
}

.concise-project-day-night-slider::-moz-range-track {
  height: 1.5px;
  background: var(--text);
}

.concise-project-day-night-slider::-moz-range-thumb {
  width: 0.55rem;
  height: 0.55rem;
  border: 1.5px solid var(--text);
  border-radius: 50%;
  background: var(--surface);
}

.concise-project-carousel-dot:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}

.concise-project-section:nth-child(even) figure {
  margin-left: var(--feature-label-clearance);
}

.concise-project-section--model figure {
  width: min(calc(100% - var(--feature-label-clearance)), 48rem);
}

.concise-project-footer {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  min-height: 4.3rem;
  margin-top: clamp(4rem, 12vw, 10rem);
}

.concise-project-footer[hidden] {
  display: none;
}

.concise-project-footer a,
.concise-project-footer button {
  display: flex;
  align-items: center;
  gap: clamp(0.75rem, 2vw, 1.5rem);
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font-family: var(--font-heading);
  font-size: var(--type-medium);
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.concise-project-footer .concise-project-symbol {
  margin-left: calc(var(--project-spine-x) - 1.125rem);
}

.concise-project-footer :is(a, button):hover > span:last-child,
.concise-project-footer :is(a, button):focus-visible > span:last-child {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.concise-project-full-presentation[hidden] {
  display: none;
}

.concise-project-full-presentation {
  position: relative;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  margin: clamp(1.5rem, 4vw, 3rem) 0 0 calc(50% - 50vw);
  border: 0;
  background: var(--surface);
  overflow: hidden;
  scroll-margin-top: 0;
}

.concise-project-full-presentation--download-only {
  height: auto;
  min-height: clamp(8rem, 18vw, 14rem);
}

.concise-project-full-presentation--image-sequence {
  display: grid;
  width: calc(100vw - (2 * var(--project-page-gutter)));
  height: auto;
  margin-left: calc(50% - 50vw + var(--project-page-gutter));
  gap: clamp(0.75rem, 2vw, 1.5rem);
  overflow: visible;
  overscroll-behavior: auto;
  touch-action: auto;
}

.concise-project-full-presentation--scenes-and-pages {
  display: grid;
  width: calc(100vw - (2 * var(--project-page-gutter)));
  height: auto;
  margin-left: calc(50% - 50vw + var(--project-page-gutter));
  gap: clamp(1.5rem, 4vw, 3rem);
  overflow: visible;
}

.concise-project-presentation-scenes {
  position: relative;
  width: 100%;
  height: 100dvh;
  overflow: hidden;
}

.concise-project-presentation-pages {
  display: grid;
  width: 100%;
  gap: clamp(0.75rem, 2vw, 1.5rem);
}

.concise-project-presentation-page {
  width: 100%;
  margin: 0;
  background: var(--surface);
}

.concise-project-presentation-page img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
  touch-action: auto;
  user-select: none;
}

.concise-project-footer .concise-project-pdf-download {
  overflow: hidden;
  display: inline-flex;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  width: 2.25rem;
  max-width: 0;
  min-width: 0;
  height: 2.25rem;
  padding: 0;
  border: 0 solid #000;
  background: #000;
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--type-medium);
  font-weight: 600;
  line-height: 0.95;
  white-space: nowrap;
  text-decoration: none;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(-1rem) scaleX(0.85);
  transform-origin: right center;
  transition:
    max-width 420ms cubic-bezier(0.65, 0, 0.35, 1),
    padding 420ms cubic-bezier(0.65, 0, 0.35, 1),
    border-width 420ms cubic-bezier(0.65, 0, 0.35, 1),
    transform 420ms cubic-bezier(0.65, 0, 0.35, 1),
    opacity 120ms linear;
}

.concise-project-footer.is-presentation-open .concise-project-pdf-download,
.concise-project-footer.has-download .concise-project-pdf-download {
  flex: 0 0 50px;
  width: 50px;
  min-width: 50px;
  max-width: 50px;
  height: 50px;
  padding: 0;
  border-width: 0;
  opacity: 1;
  transform: translateX(0) scaleX(1);
}

.concise-project-pdf-download svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
  stroke: none;
}

.concise-project-pdf-download:hover,
.concise-project-pdf-download:focus-visible {
  background: #000;
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .concise-project-pdf-download {
    transition: none;
  }
}

.concise-project-full-presentation iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: var(--surface);
}

.concise-project-full-presentation.is-outer-scroll-driven,
.concise-project-presentation-scenes.is-outer-scroll-driven {
  overflow: visible;
}

.concise-project-full-presentation.is-outer-scroll-driven iframe,
.concise-project-presentation-scenes.is-outer-scroll-driven iframe {
  position: relative;
  height: 100%;
  pointer-events: none;
}

.embedded-presentation > .site-header,
.embedded-presentation .year-selector,
.embedded-presentation .project-overlay,
.embedded-presentation .back-to-projects,
.embedded-presentation > .site-footer,
.embedded-presentation > .language-switch {
  display: none !important;
}

.embedded-presentation main.container {
  width: 100%;
  margin: 0;
}

.embedded-presentation .fullstage {
  min-height: 100dvh;
}

.embedded-presentation .visual-frame {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  min-height: 0;
  overflow: visible;
}

.embedded-presentation .visual-layers {
  position: relative;
  width: 100%;
  height: auto;
}

.embedded-presentation .visual-layers::after {
  content: none;
}

.embedded-presentation .pdf-layer {
  position: relative;
  width: 100%;
  height: var(--embedded-scene-height, 100dvh);
  min-height: var(--embedded-scene-height, 100dvh);
  overflow: hidden;
  opacity: 1;
  transform: none;
}

.embedded-presentation .scroll-steps {
  display: none;
}

.embedded-presentation .story-step {
  min-height: 100vh;
  min-height: 100dvh;
}

@media (max-width: 760px) {
  .concise-project-shell {
    --project-page-gutter: var(--index-page-gutter);
  }

  .concise-project {
    --project-spine-x: 0rem;
    --project-body-start: 2.55rem;
  }

  .concise-project-heading {
    grid-template-columns: minmax(0, 1fr) 4.7rem;
    column-gap: 0.5rem;
  }

  .concise-project-heading h1 {
    max-width: calc(100% - 2.55rem);
    margin-left: var(--project-body-start);
    padding: 0.08em 0.2em 0.14em;
    font-size: clamp(1.55rem, 8vw, var(--type-medium));
    overflow-wrap: anywhere;
  }

  .concise-project-symbol {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 2rem;
  }

  .concise-project-nav {
    gap: 0.2rem;
  }

  .concise-project-nav-link {
    width: 2.25rem;
    height: 2.25rem;
  }

  .concise-project-intro {
    --project-content-offset: var(--project-body-start);
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-left: calc(var(--project-spine-x) + var(--project-spine-x) + var(--project-body-start));
  }

  .concise-project-intro-copy {
    display: contents;
  }

  .concise-project-facts {
    order: 1;
  }

  .concise-project-annotation {
    order: 2;
  }

  .concise-project-highlight {
    order: 2;
  }

  .concise-project-hero {
    order: 3;
  }

  .concise-project-fact {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
  }

  .concise-project-fact dd {
    overflow-wrap: anywhere;
  }

  .concise-project-fact--left dd {
    position: static;
    width: auto;
    text-align: right;
    translate: none;
  }

  .concise-project-section {
    padding-left: calc(var(--project-spine-x) + var(--project-spine-x) + var(--project-body-start));
  }

  .concise-project-section::before {
    width: calc(var(--project-spine-x) + 0.35rem);
  }

  .concise-project-section h2 {
    padding: 0;
    background: transparent;
    transform: none;
  }

  .concise-project-section:nth-child(n) figure,
  .concise-project-section--model figure {
    width: calc(100vw - (2 * var(--project-page-gutter)) - var(--project-body-start));
    max-width: none;
    margin-top: clamp(2rem, 8vw, 3rem);
    margin-left: 0;
  }

  .concise-project-footer a {
    font-size: clamp(1.15rem, 6vw, var(--type-medium));
  }

  .concise-project-footer button {
    font-size: clamp(1.15rem, 6vw, var(--type-medium));
  }

  .concise-project-footer .concise-project-symbol {
    margin-left: calc(var(--project-spine-x) - 1.125rem);
  }

  .concise-project-full-presentation {
    width: calc(100% - var(--project-spine-x));
    height: 78vh;
  }

  .concise-project-full-presentation--image-sequence {
    height: auto;
    gap: var(--index-page-gutter);
    overflow: visible;
  }

  .concise-project-full-presentation--scenes-and-pages {
    height: auto;
    gap: var(--index-page-gutter);
    overflow: visible;
  }
}

.site-header {
  position: relative;
  z-index: 120;
}

main,
.site-footer {
  position: relative;
  z-index: 1;
}

.container {
  width: var(--container-width);
  margin: 0 auto;
}

.site-header {
  padding: 3.2rem 0 0.75rem;
  border-bottom: 2px solid var(--line);
}

.back-link,
.back-to-projects {
  display: inline-block;
  position: fixed;
  top: 1rem;
  z-index: 140;
  min-width: 8.1rem;
  color: var(--line);
  text-decoration: none;
  border: 2px solid var(--line);
  background: var(--surface);
  padding: 0.25rem 0.55rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.back-link {
  left: max(1rem, var(--container-gutter));
  margin-bottom: 0.9rem;
}

.back-to-projects {
  right: max(1rem, var(--container-gutter));
  cursor: pointer;
}

.back-link:hover,
.back-to-projects:hover {
  background: var(--line);
  color: var(--surface);
}

.header-identity {
  display: flex;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: clamp(0.8rem, 1.8vw, 1.35rem);
}

.brand-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand {
  margin: 0;
  font-size: var(--type-medium);
  font-weight: 600;
}

.tagline {
  margin: 0.25rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.year-heading {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 100%;
  margin: 0;
  padding-left: clamp(0.8rem, 1.8vw, 1.35rem);
  border-left: 2px solid var(--line);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  line-height: 1.1;
}

.intro {
  padding: 1.2rem;
  border: 2px solid var(--line);
  margin: 0.9rem 0 2rem;
  background: var(--surface);
}

.intro h1,
.intro h3 {
  margin: 0;
  font-size: var(--type-medium);
  line-height: 1.2;
}

.intro-copy {
  margin: 0.5rem 0 0;
  color: var(--text);
  font-size: 1rem;
  max-width: 65ch;
  line-height: 1.6;
}

.project-index {
  --index-menu-width: min(20rem, 74vw);
  --index-line-color: var(--text);
  --index-drawer-heading-size: clamp(var(--type-medium), 4vw, var(--type-large));
  --index-section-heading-size: clamp(10pt, 2vw, 20pt);
  border: 2px solid var(--line);
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  margin: 0.9rem 0 2rem;
  padding: clamp(1rem, 2.5vw, 2rem);
}

.index-page .project-index {
  position: relative;
}

/* The redesign index is the full page, open over the animated landscape. */
.index-page {
  --index-page-gutter: clamp(2rem, 3.5vw, 4rem);
  background: transparent;
}

.index-page .container {
  width: 100%;
  margin-inline: 0;
}

.index-page .site-footer {
  display: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.index-page .index-nameplate {
  position: relative;
  left: 0;
  z-index: 120;
  display: flex;
  visibility: visible;
  width: 100vw;
  max-width: none;
  height: clamp(6.5rem, 8vw, 8rem);
  min-height: 6.5rem;
  align-items: center;
  margin: clamp(3rem, 6vw, 6rem) 0 0;
  padding: 0 var(--index-page-gutter);
  overflow: hidden;
  border: 0;
  opacity: 1;
  background-color: #000000;
}

.index-name-animation {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  object-position: left center;
  background: #000000;
}

.index-page main {
  min-height: 0;
  padding-inline: var(--index-page-gutter);
  padding-bottom: clamp(2rem, 6vw, 5rem);
}

.index-page .project-index {
  --drawer-row-start: 50px;
  width: 100%;
  margin: 0;
  padding: clamp(1.5rem, 2.2vw, 2.75rem) 0 0;
  border: 0;
  background: transparent;
}

.project-index-root {
  position: relative;
  z-index: 0;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  width: var(--index-menu-width);
  min-height: 4.25rem;
  margin-inline: 0;
  border: 0;
  padding: 0.65rem 1rem 0.65rem 2.75rem;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.project-index-root::before,
.project-index-info-toggle::before,
.project-index-cv-toggle::before {
  content: none;
}

.project-index-frame {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.project-index-frame-line {
  position: absolute;
  display: block;
  background: var(--index-line-color);
  will-change: transform;
}

.project-index-frame-line--top,
.project-index-frame-line--bottom {
  left: 0;
  width: 100%;
  height: 2px;
}

.project-index-frame-line--top {
  top: 0;
  transform-origin: left;
}

.project-index-frame-line--bottom {
  bottom: 0;
  transform-origin: right;
}

.project-index-frame-line--right {
  top: 0;
  right: 0;
  width: 2px;
  height: 100%;
  transform-origin: top;
}

.project-index-frame-line--lower-left,
.project-index-frame-line--upper-left {
  left: 0;
  width: 2px;
  height: 50%;
}

.project-index-frame-line--lower-left {
  bottom: 0;
  transform-origin: bottom;
}

.project-index-frame-line--upper-left {
  top: 0;
  transform-origin: bottom;
}

.project-index-root > span:not(.project-index-symbol):not(.project-index-frame),
.project-index-destination-heading > :not(.project-index-symbol):not(.project-index-frame) {
  position: relative;
  z-index: 1;
}

.project-index-root > .project-index-symbol,
.project-index-destination-heading > .project-index-symbol {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  transform: translate(-50%, -50%);
}

.project-index-root:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 0.45rem;
}

.project-index-root h1,
.project-index-heading {
  display: block;
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--index-drawer-heading-size);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.project-index-symbol {
  display: grid;
  flex: 0 0 2.25rem;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  background: var(--index-line-color);
  color: var(--surface);
  font-size: 2rem;
  line-height: 1;
  transition: color 120ms ease;
}

/* Draw the star at a fixed optical size. A font glyph rendered noticeably
   smaller in iOS Safari than in desktop browser emulation. */
.project-index-symbol--star,
.project-index-destination-heading > .project-index-symbol.project-index-symbol--star,
.concise-project-symbol--star {
  font-size: 0;
  rotate: 0deg;
  transition: rotate 260ms cubic-bezier(0.65, 0, 0.35, 1);
  line-height: 1;
}

.project-index-symbol--star::before,
.concise-project-symbol--star::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 1.15rem;
  height: 1.15rem;
  background: currentColor;
  transform: translate(-50%, -50%);
  clip-path: polygon(
    42% 0, 58% 0, 58% 35%, 88% 18%, 96% 32%, 66% 49%,
    96% 66%, 88% 80%, 58% 63%, 58% 100%, 42% 100%, 42% 63%,
    12% 80%, 4% 66%, 34% 49%, 4% 32%, 12% 18%, 42% 35%
  );
}

/* Once an index drawer becomes a line, remove the pale glyph from its origin
   so it cannot read as a cross cutting through the connector. */
.project-index-root[aria-expanded="true"] > .project-index-symbol,
.project-index-destination-heading[aria-expanded="true"] > .project-index-symbol {
  color: transparent;
}

.project-index-branch {
  --project-branch-top: clamp(2rem, 5vw, 4.25rem);
  --project-branch-indent: clamp(2.8rem, 8vw, 7.5rem);
  --project-label-top: clamp(0.8rem, 1.8vw, 1.35rem);
  position: relative;
  width: var(--index-menu-width);
  margin-inline: 0;
  padding: var(--project-branch-top) 0 0 var(--project-branch-indent);
}

.project-index-projects-panel::before {
  content: "";
  position: absolute;
  top: calc(-1 * var(--project-branch-top) - 2.125rem);
  bottom: 0;
  left: calc(-1 * var(--project-branch-indent));
  width: 2px;
  background: var(--index-line-color);
  transform: scaleY(0);
  transform-origin: top;
}

.project-index.is-projects-open .project-index-projects-panel::before {
  animation: project-index-spine-draw 1800ms cubic-bezier(0.45, 0, 0.2, 1) 1600ms both;
}

.project-index-projects-panel {
  position: relative;
  display: grid;
  grid-template-rows: 0fr;
}

.project-index-projects-panel-inner {
  position: relative;
  min-height: 0;
  overflow-x: visible;
  overflow-y: clip;
}

.project-index.is-projects-open .project-index-projects-panel-inner {
  overflow-y: visible;
}

.project-index-link-preview {
  position: absolute;
  top: calc(100% + clamp(0.5rem, 1.2vw, 0.85rem));
  left: 0;
  z-index: 8;
  width: min(72vw, 46rem);
  max-width: calc(100vw - (2 * var(--index-page-gutter)) - var(--drawer-row-start));
  max-height: 0;
  margin: 0;
  clip-path: inset(0 100% 0 0);
  opacity: 0;
  overflow: hidden;
  transform: translateX(-1.25rem);
  transition:
    max-height 260ms cubic-bezier(0.65, 0, 0.35, 1),
    clip-path 260ms cubic-bezier(0.65, 0, 0.35, 1),
    opacity 120ms ease 80ms,
    transform 260ms cubic-bezier(0.65, 0, 0.35, 1);
}

.project-index-link:has(> :not(.project-index-link-preview):hover) .project-index-link-preview,
.project-index-link:focus-visible .project-index-link-preview {
  max-height: min(55vh, 34rem);
  clip-path: inset(0);
  opacity: 1;
  transform: none;
  transition-duration: 520ms, 520ms, 180ms, 520ms;
  transition-timing-function: cubic-bezier(0.22, 0.8, 0.2, 1), cubic-bezier(0.22, 0.8, 0.2, 1), ease, cubic-bezier(0.22, 0.8, 0.2, 1);
}

.project-index-link.has-side-preview .project-index-link-preview {
  top: 50%;
  left: calc(100% + clamp(1rem, 2.5vw, 2.5rem));
  width: min(38vw, 34rem, var(--project-preview-side-width));
  max-width: calc(100vw - 2rem);
  max-height: min(55vh, 34rem, var(--project-preview-side-height));
  transform: translate(-1.25rem, -50%);
}

.project-index-link.has-side-preview:has(> :not(.project-index-link-preview):hover) .project-index-link-preview,
.project-index-link.has-side-preview:focus-visible .project-index-link-preview {
  transform: translate(0, -50%);
}

.project-index-link-preview img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: min(55vh, 34rem);
  max-height: min(55vh, 34rem);
  object-fit: contain;
  object-position: left top;
}

.project-index-link.has-side-preview .project-index-link-preview img {
  height: min(55vh, 34rem, var(--project-preview-side-height));
  max-height: min(55vh, 34rem, var(--project-preview-side-height));
}

@media (hover: none) {
  .project-index-link-preview {
    display: none;
  }
}

@media (max-width: 720px) {
  .project-index-link-preview {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-index-link-preview,
  .project-index-link:has(> :not(.project-index-link-preview):hover) .project-index-link-preview,
  .project-index-link:focus-visible .project-index-link-preview {
    transition: opacity 120ms linear;
    transform: none;
  }
}

.project-index.is-projects-open .project-index-branch {
  animation: project-index-branch-push 1800ms cubic-bezier(0.45, 0, 0.2, 1) 1600ms both;
}

.project-index.is-projects-open .project-index-projects-panel {
  animation: project-index-panel-push 1800ms cubic-bezier(0.45, 0, 0.2, 1) 1600ms both;
}

.project-index.is-projects-open .project-index-destination {
  animation: project-index-destination-push 1800ms cubic-bezier(0.45, 0, 0.2, 1) 1600ms both;
}

.project-index-projects-panel[hidden],
.project-index-info-content[hidden],
.project-index-cv-content[hidden] {
  display: none;
}

.project-index-group {
  /* 5.25 × the 40pt section label, including its frame clearance. */
  --section-label-clearance: 17.5rem;
  position: relative;
  min-height: clamp(11.5rem, 22vw, 16rem);
  padding-top: var(--project-label-top);
}

.project-index-group:last-child {
  min-height: max(clamp(11.5rem, 22vw, 16rem), var(--section-label-clearance));
}

.project-index-group::before {
  content: none;
}

.project-index-group:first-child::before {
  top: calc(-1 * var(--project-branch-top));
  height: calc(var(--project-branch-top) + var(--project-label-top));
}

.project-index-group + .project-index-group {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.project-index-group h2 {
  --spine-label-width: 2.25rem;
  position: absolute;
  top: var(--project-label-top);
  left: calc(-1 * var(--project-branch-indent) - (var(--spine-label-width) / 2));
  display: grid;
  width: var(--spine-label-width);
  place-items: center;
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--index-section-heading-size);
  font-weight: 500;
  line-height: 1;
  text-transform: lowercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transform-origin: center;
  z-index: 2;
  padding-block: 0.2rem;
  background: var(--surface);
  box-shadow: 0 0 0 0.7rem var(--surface);
  opacity: 0;
}

.project-index.is-projects-open .project-index-group h2 {
  animation: project-index-section-unfold 630ms ease both;
}

.project-index.is-projects-open .project-index-group:first-child h2 {
  animation-delay: 1750ms;
}

.project-index.is-projects-open .project-index-group:nth-child(2) h2 {
  animation-delay: 2620ms;
}

.project-index-list {
  display: grid;
  align-content: start;
  gap: clamp(0.8rem, 1.8vw, 1.25rem);
}

.project-index-link {
  position: relative;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem;
  width: max-content;
  max-width: none;
  margin-left: calc(var(--drawer-row-start) - var(--project-branch-indent));
  color: var(--text);
  font-size: var(--type-small);
  line-height: 1.25;
  white-space: nowrap;
  text-decoration: none;
  opacity: 0;
  translate: 0 0;
  transform: translateY(-0.55rem);
  transition: translate 480ms cubic-bezier(0.22, 0.8, 0.2, 1);
}

.project-index-link:has(> :not(.project-index-link-preview):hover),
.project-index-link:focus-visible {
  z-index: 10;
}

.project-index.is-projects-open .project-index-link {
  transform: none;
  animation: project-index-link-reveal 690ms ease both;
  animation-delay: calc(1870ms + (var(--project-order) * 135ms));
}

.project-index.is-projects-open .project-index-link.skip-language-reveal {
  opacity: 1;
  transform: none;
  animation: none;
}

.project-index.is-projects-intro-active .project-index-link:not(.has-user-previewed) .project-index-detail:not(.project-index-scale) {
  animation: project-index-detail-wave 2400ms cubic-bezier(0.4, 0, 0.2, 1) backwards;
  animation-delay: calc(2350ms + (var(--project-order) * 135ms) + var(--detail-delay, 0ms));
  will-change: max-width, opacity, transform;
}

.project-index.is-projects-open .project-index-link:hover .project-index-detail,
.project-index.is-projects-open .project-index-link:focus-visible .project-index-detail {
  max-width: 32rem;
  opacity: 1;
  transform: translateX(0);
  animation: none;
}

.project-index.is-projects-open .project-index-link:hover,
.project-index.is-projects-open .project-index-link:focus-visible {
  translate: 0 0;
}

.project-index-detail {
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  white-space: nowrap;
  transform: translateX(-0.6rem);
  transition:
    max-width 480ms cubic-bezier(0.22, 0.8, 0.2, 1),
    opacity 240ms ease,
    transform 480ms cubic-bezier(0.22, 0.8, 0.2, 1);
}

.project-index-link:hover .project-index-detail,
.project-index-link:focus-visible .project-index-detail {
  max-width: 32rem;
  opacity: 1;
  transform: translateX(0);
}

.project-index-scale {
  position: static;
  width: auto;
  max-width: none;
  overflow: visible;
  text-align: left;
  translate: none;
  transform: none;
  opacity: 1;
  font-weight: 600;
}

.project-index-title {
  font-weight: 750;
  text-transform: uppercase;
}

.project-index-context {
  --detail-delay: 140ms;
  --detail-open-width: 24rem;
  color: color-mix(in srgb, var(--text) 48%, transparent);
  font-weight: 650;
}

.project-index-highlight {
  --detail-delay: 280ms;
  --detail-open-width: 12rem;
  display: inline-block;
  max-width: none;
  opacity: 1;
  overflow: visible;
  transform: none;
  background: var(--text);
  color: var(--surface);
  padding: 0.05em 0.2em 0.1em;
  white-space: nowrap;
}

.project-index-title {
  transition: none;
}

.project-index-link:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 0.3rem;
}

.project-index-destination {
  position: relative;
  margin-top: clamp(2.5rem, 6vw, 5rem);
}

.project-index-destination-heading {
  position: relative;
  z-index: 2;
  isolation: isolate;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0;
  width: var(--index-menu-width);
  min-height: 4.25rem;
  margin-left: calc(-1 * var(--project-branch-indent));
  padding: 0.65rem 1rem 0.65rem 2.75rem;
}

.project-index-info-toggle {
  width: var(--index-menu-width);
  border: 0;
  padding: 0.65rem 1rem 0.65rem 2.75rem;
  background: transparent;
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.project-index-info-toggle:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 0.45rem;
}

.project-index-destination-heading h2,
.project-index-destination-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: var(--index-drawer-heading-size);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
}

.project-index-info-content,
.project-index-cv-content {
  display: grid;
  grid-template-rows: 0fr;
  width: min(calc(100vw - (2 * var(--index-page-gutter))), 90rem);
  margin-top: 0;
}

.project-index.is-projects-open .project-index-info-content,
.project-index.is-projects-open .project-index-cv-content {
  margin-left: calc(-1 * var(--project-branch-indent));
}

.project-index-info-content-inner,
.project-index-cv-content-inner {
  min-height: 0;
  overflow: hidden;
}

.project-index-info-content-inner {
  --info-content-indent: clamp(2.25rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(12rem, 18rem);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  padding-left: var(--info-content-indent);
}

.project-index-info::after,
.project-index-cv::after {
  content: "";
  position: absolute;
  top: 2.125rem;
  left: calc(-1 * var(--project-branch-indent));
  z-index: 0;
  width: 2px;
  bottom: 0;
  height: auto;
  background: var(--index-line-color);
  transform: scaleY(0);
  transform-origin: top;
}

.project-index.is-info-open .project-index-info::after,
.project-index.is-cv-open .project-index-cv::after {
  animation: project-index-spine-draw 1800ms cubic-bezier(0.45, 0, 0.2, 1) 1600ms both;
}

.project-index:not(.is-projects-open) .project-index-info::after,
.project-index:not(.is-projects-open) .project-index-cv::after {
  left: 0;
}

.project-index-cv::after {
  bottom: 0;
  height: auto;
}

.project-index-info-content.is-open {
  animation: project-index-info-push 1800ms cubic-bezier(0.45, 0, 0.2, 1) 1600ms both;
}

.project-index-cv-content.is-open {
  animation: project-index-info-push 1800ms cubic-bezier(0.45, 0, 0.2, 1) 1600ms both;
}

.project-index-info-content.is-closing,
.project-index-cv-content.is-closing {
  animation: project-index-cv-pull 1400ms cubic-bezier(0.45, 0, 0.2, 1) 900ms both;
}

.project-index-info .intro {
  width: min(100%, 90rem);
  max-width: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.project-index-info-contact {
  display: grid;
  align-content: start;
  gap: clamp(0.75rem, 1.5vw, 1.15rem);
  margin: 0;
  font-family: var(--font-text);
  font-size: var(--type-small);
  line-height: 1.25;
}

.project-index-info-row {
  --info-row-order: 0;
  --index-row-gutter: 12.5rem;
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.4rem;
  width: max-content;
  max-width: calc(100% - var(--index-row-gutter));
  margin-left: calc(
    var(--project-branch-indent) + var(--index-row-gutter) - var(--info-content-indent)
  );
  opacity: 0;
  translate: 0 0;
  transform: translateY(-0.55rem);
  transition: translate 480ms cubic-bezier(0.22, 0.8, 0.2, 1);
  white-space: nowrap;
}

.project-index-info-row:nth-child(2) {
  --info-row-order: 1;
}

.project-index-info-row:nth-child(3) {
  --info-row-order: 2;
}

.project-index-info-row:nth-child(1) .project-index-info-detail {
  --detail-open-width: 18rem;
}

.project-index-info-row:nth-child(2) .project-index-info-detail {
  --detail-open-width: 8rem;
}

.project-index-info-content.is-open .project-index-info-row {
  animation: cv-item-in 540ms ease forwards;
  animation-delay: calc(1850ms + (var(--info-row-order) * 140ms));
}

.project-index-info-contact strong {
  font-weight: 750;
  text-transform: uppercase;
}

.project-index-info-detail {
  --detail-open-width: 34rem;
  position: static;
  display: inline-block;
  flex: 0 1 auto;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  text-align: left;
  transform: translateX(-0.6rem);
  white-space: nowrap;
  transition:
    max-width 480ms cubic-bezier(0.22, 0.8, 0.2, 1),
    opacity 240ms ease,
    transform 480ms cubic-bezier(0.22, 0.8, 0.2, 1);
}

.project-index-info-detail--left {
  position: absolute;
  top: 50%;
  right: calc(100% + 0.4rem);
  flex: none;
  text-align: right;
  translate: 0 -50%;
}

.project-index-info-detail--right {
  --detail-open-width: 10rem;
}

.project-index-info-content.is-open .project-index-info-row:not(.has-user-previewed) .project-index-info-detail {
  animation: project-index-detail-wave 2400ms cubic-bezier(0.4, 0, 0.2, 1) backwards;
  animation-delay: calc(2350ms + (var(--info-row-order) * 140ms));
}

.project-index-info-row:hover .project-index-info-detail,
.project-index-info-row:focus-within .project-index-info-detail,
.project-index-info-row:focus-visible .project-index-info-detail {
  max-width: var(--detail-open-width);
  opacity: 1;
  transform: translateX(0);
  animation: none;
}

.project-index-info-row:hover,
.project-index-info-row:focus-within,
.project-index-info-row:focus-visible {
  translate: -0.5rem 0;
}

.project-index-info-row:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 0.3rem;
}

.project-index-info-contact a {
  color: inherit;
  text-underline-offset: 0.18em;
}

.project-index-cv .personal-panel {
  margin: 0;
  border: 0;
  background: transparent;
}

.project-index-cv .personal-content {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding: 0;
}

.project-index-cv .cv-line {
  --cv-date-gutter: 12.5rem;
  grid-column: 1;
  grid-row: 1;
  gap: clamp(0.75rem, 1.5vw, 1.15rem);
  padding: 0.5rem 0 0.5rem calc(var(--project-branch-indent) + var(--cv-date-gutter));
}

.project-index-cv .cv-line::before {
  content: none;
}

.cv-rope {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.cv-rope path {
  fill: none;
  stroke: var(--index-line-color);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.project-index-cv-content.is-closing .cv-rope path {
  animation: cv-rope-retract 900ms cubic-bezier(0.45, 0, 0.2, 1) both;
  animation-delay: calc(var(--rope-reverse-order, 0) * 120ms);
}

.project-index-cv .cv-item {
  z-index: 1;
  display: flex;
  flex-wrap: nowrap;
  gap: 0.4rem;
  width: max-content;
  max-width: none;
  min-height: 0;
  align-items: baseline;
  padding: 0.35rem 0;
  white-space: nowrap;
  translate: 0 0;
  transition: translate 480ms cubic-bezier(0.22, 0.8, 0.2, 1);
}

.project-index-cv .cv-date {
  --detail-open-width: 12rem;
  position: absolute;
  top: 50%;
  right: calc(100% + 0.4rem);
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  color: var(--text);
  font-size: var(--type-small);
  font-weight: 750;
  text-align: left;
  translate: 0 -50%;
  transform: translateX(-0.35rem);
  transition:
    max-width 480ms cubic-bezier(0.22, 0.8, 0.2, 1),
    opacity 240ms ease,
    transform 480ms cubic-bezier(0.22, 0.8, 0.2, 1);
  white-space: nowrap;
}

.project-index-cv .cv-copy {
  grid-column: 2;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  gap: 0.4rem;
  white-space: nowrap;
}

.project-index-cv .cv-copy h3 {
  font-family: var(--font-text);
  font-size: var(--type-small);
  font-weight: 750;
  text-transform: uppercase;
}

.project-index-cv .cv-copy p {
  --cv-detail-delay: 140ms;
  --detail-open-width: 28rem;
  display: inline-block;
  max-width: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  color: color-mix(in srgb, var(--text) 48%, transparent);
  font-size: var(--type-small);
  font-weight: 650;
  transform: translateX(-0.35rem);
  transition:
    max-width 480ms cubic-bezier(0.22, 0.8, 0.2, 1),
    opacity 240ms ease,
    transform 480ms cubic-bezier(0.22, 0.8, 0.2, 1);
}

.project-index-link,
.project-index-info-contact,
.project-index-cv .cv-date,
.project-index-cv .cv-copy h3,
.project-index-cv .cv-copy p {
  font-size: clamp(var(--type-small), 1.2vw, var(--type-medium));
}

.project-index-cv .cv-marker {
  flex: 0 0 auto;
  align-self: center;
  width: 0.62rem;
  height: 0.62rem;
  margin-top: 0;
  border: 0;
  background: var(--index-line-color);
}

.project-index-cv-content.is-open .cv-item:nth-of-type(1) {
  --cv-order: 0;
}

.project-index-cv-content.is-open .cv-item:nth-of-type(2) {
  --cv-order: 1;
}

.project-index-cv-content.is-open .cv-item:nth-of-type(3) {
  --cv-order: 2;
}

.project-index-cv-content.is-open .cv-item:nth-of-type(4) {
  --cv-order: 3;
}

.project-index-cv-content.is-open .cv-item:nth-of-type(5) {
  --cv-order: 4;
}

.project-index-cv-content.is-open .cv-item:nth-of-type(6) {
  --cv-order: 5;
}

.project-index-cv-content.is-open .cv-item:not(.has-user-previewed) .cv-date,
.project-index-cv-content.is-open .cv-item:not(.has-user-previewed) .cv-copy p {
  animation: project-index-detail-wave 2400ms cubic-bezier(0.4, 0, 0.2, 1) backwards;
  animation-delay: calc(2350ms + (var(--cv-order) * 140ms) + var(--cv-detail-delay, 0ms));
}

.project-index-cv .cv-item:hover .cv-date,
.project-index-cv .cv-item:hover .cv-copy p,
.project-index-cv .cv-item:focus-visible .cv-date,
.project-index-cv .cv-item:focus-visible .cv-copy p {
  max-width: var(--detail-open-width);
  opacity: 1;
  transform: translateX(0);
  animation: none;
}

.project-index-cv-content.is-open .cv-item:hover,
.project-index-cv-content.is-open .cv-item:focus-visible {
  translate: -0.5rem 0;
}

.project-index-cv .cv-item:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 0.3rem;
}

.project-index-info .personal-photo-frame {
  align-self: start;
  justify-self: end;
  padding: 0;
  background: none;
}

.project-index-cv-content.is-open .cv-line::before {
  animation: cv-line-draw 1200ms cubic-bezier(0.16, 0.78, 0.18, 1) 1750ms forwards;
}

.project-index-cv-content.is-open .cv-item {
  animation: cv-item-in 540ms ease forwards;
}

.project-index-cv-content.is-open .cv-item:nth-of-type(1) {
  animation-delay: 1850ms;
}

.project-index-cv-content.is-open .cv-item:nth-of-type(2) {
  animation-delay: 1990ms;
}

.project-index-cv-content.is-open .cv-item:nth-of-type(3) {
  animation-delay: 2130ms;
}

.project-index-cv-content.is-open .cv-item:nth-of-type(4) {
  animation-delay: 2270ms;
}

.project-index-cv-content.is-open .cv-item:nth-of-type(5) {
  animation-delay: 2410ms;
}

.project-index-cv-content.is-open .cv-item:nth-of-type(6) {
  animation-delay: 2550ms;
}

.project-index-cv-content.is-closing .cv-item {
  animation: project-index-item-fold 450ms ease both;
}

.project-index-cv-content.is-closing .cv-item:nth-of-type(5) {
  animation-delay: 0ms;
}

.project-index-cv-content.is-closing .cv-item:nth-of-type(4) {
  animation-delay: 120ms;
}

.project-index-cv-content.is-closing .cv-item:nth-of-type(3) {
  animation-delay: 240ms;
}

.project-index-cv-content.is-closing .cv-item:nth-of-type(2) {
  animation-delay: 360ms;
}

.project-index-cv-content.is-closing .cv-item:nth-of-type(1) {
  animation-delay: 480ms;
}

.project-index-info-content.is-open .personal-photo-frame.is-visible {
  animation: personal-photo-in 630ms ease 2050ms forwards;
}

.project-index-info-content.is-closing .project-index-info-row,
.project-index-info-content.is-closing .personal-photo-frame {
  animation: project-index-item-fold 450ms ease both;
}

.project-index-info-content.is-closing .personal-photo-frame {
  animation-delay: 0ms;
}

.project-index-info-content.is-closing .project-index-info-row:nth-child(3) {
  animation-delay: 120ms;
}

.project-index-info-content.is-closing .project-index-info-row:nth-child(2) {
  animation-delay: 240ms;
}

.project-index-info-content.is-closing .project-index-info-row:nth-child(1) {
  animation-delay: 360ms;
}

.project-index-cv {
  min-height: 0;
  padding-bottom: 0;
}

.language-switch {
  position: absolute;
  right: clamp(0.85rem, 2.5vw, 2rem);
  top: clamp(0.85rem, 2.5vw, 2rem);
  z-index: 300;
  display: flex;
  align-items: baseline;
  gap: 0.28rem;
  padding: 0.3rem 0.42rem;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  color: var(--text);
  font-family: var(--font-text);
  font-size: var(--type-small);
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(4px);
}

.language-switch button {
  border: 0;
  border-bottom: 2px solid transparent;
  padding: 0.12rem 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  opacity: 0.42;
}

.language-switch button:hover,
.language-switch button:focus-visible,
.language-switch button.is-active {
  border-bottom-color: currentColor;
  opacity: 1;
}

.language-switch button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 0.2rem;
}

.project-index-cv-toggle {
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
}

.project-index-destination-heading > .project-index-symbol {
  width: 2.25rem;
  height: 2.25rem;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1;
  padding: 0;
}

.project-index-root:hover > .project-index-frame,
.project-index-root:focus-visible > .project-index-frame,
.project-index.is-projects-open .project-index-root > .project-index-frame,
.project-index-info-toggle:hover > .project-index-frame,
.project-index-info-toggle:focus-visible > .project-index-frame,
.project-index-info-toggle[aria-expanded="true"] > .project-index-frame,
.project-index-cv-toggle:hover > .project-index-frame,
.project-index-cv-toggle:focus-visible > .project-index-frame,
.project-index-cv-toggle[aria-expanded="true"] > .project-index-frame {
  opacity: 1;
}

.project-index.is-projects-closing .project-index-root:hover > .project-index-frame,
.project-index.is-projects-closing .project-index-root:focus-visible > .project-index-frame,
.project-index.is-info-closing .project-index-info-toggle:hover > .project-index-frame,
.project-index.is-info-closing .project-index-info-toggle:focus-visible > .project-index-frame,
.project-index.is-cv-closing .project-index-cv-toggle:hover > .project-index-frame,
.project-index.is-cv-closing .project-index-cv-toggle:focus-visible > .project-index-frame {
  opacity: 1;
}

.project-index:not(.is-projects-open):not(.is-projects-closing) .project-index-branch {
  margin-top: 1.25rem;
  padding: 0;
}

.project-index:not(.is-projects-open):not(.is-projects-closing) .project-index-projects-panel::before,
.project-index:not(.is-projects-open):not(.is-projects-closing) .project-index-group::before {
  display: none;
}

.project-index:not(.is-projects-open):not(.is-projects-closing) .project-index-destination {
  margin-top: 1.25rem;
}

.project-index:not(.is-projects-open):not(.is-projects-closing) .project-index-destination-heading {
  margin-left: 0;
}

.project-index.is-projects-closing .project-index-link {
  animation: project-index-item-fold 450ms ease both;
  animation-delay: calc(var(--project-reverse-order, 0) * 90ms);
}

.project-index.is-projects-closing .project-index-group:nth-child(2) h2 {
  animation: project-index-section-fold 450ms ease 180ms both;
}

.project-index.is-projects-closing .project-index-group:first-child h2 {
  animation: project-index-section-fold 450ms ease 720ms both;
}

.project-index.is-projects-closing .project-index-link .project-index-detail {
  max-width: 0;
  opacity: 0;
  transform: translateX(-0.35rem);
  animation: none;
}

.project-index.is-projects-closing .project-index-projects-panel::before {
  animation: project-index-spine-undraw 1600ms cubic-bezier(0.45, 0, 0.2, 1) both;
}

.project-index.is-projects-closing .project-index-projects-panel {
  animation: project-index-panel-pull 1600ms cubic-bezier(0.45, 0, 0.2, 1) both;
}

.project-index.is-projects-closing .project-index-branch {
  animation: project-index-branch-pull 1600ms cubic-bezier(0.45, 0, 0.2, 1) both;
}

.project-index.is-projects-closing .project-index-destination {
  animation: project-index-destination-pull 1600ms cubic-bezier(0.45, 0, 0.2, 1) both;
}

.project-index.is-info-closing .project-index-info::after,
.project-index.is-cv-closing .project-index-cv::after {
  animation: project-index-spine-undraw 1400ms cubic-bezier(0.45, 0, 0.2, 1) 900ms both;
}

.project-index.is-projects-closing .project-index-root:is(:hover, :focus-visible) .project-index-frame-line,
.project-index.is-info-closing .project-index-info-toggle:is(:hover, :focus-visible) .project-index-frame-line,
.project-index.is-cv-closing .project-index-cv-toggle:is(:hover, :focus-visible) .project-index-frame-line {
  animation-duration: 400ms;
  animation-timing-function: linear;
  animation-fill-mode: backwards;
}

.project-index.is-projects-closing .project-index-root:is(:hover, :focus-visible) .project-index-frame-line--upper-left {
  animation-name: frame-line-restore-y;
  animation-delay: 1600ms;
}

.project-index.is-projects-closing .project-index-root:is(:hover, :focus-visible) .project-index-frame-line--top {
  animation-name: frame-line-restore-x;
  animation-delay: 2000ms;
}

.project-index.is-projects-closing .project-index-root:is(:hover, :focus-visible) .project-index-frame-line--right {
  animation-name: frame-line-restore-y;
  animation-delay: 2400ms;
}

.project-index.is-projects-closing .project-index-root:is(:hover, :focus-visible) .project-index-frame-line--bottom {
  animation-name: frame-line-restore-x;
  animation-delay: 2800ms;
}

.project-index.is-info-closing .project-index-info-toggle:is(:hover, :focus-visible) .project-index-frame-line--upper-left,
.project-index.is-cv-closing .project-index-cv-toggle:is(:hover, :focus-visible) .project-index-frame-line--upper-left {
  animation-name: frame-line-restore-y;
  animation-delay: 2300ms;
}

.project-index.is-info-closing .project-index-info-toggle:is(:hover, :focus-visible) .project-index-frame-line--top,
.project-index.is-cv-closing .project-index-cv-toggle:is(:hover, :focus-visible) .project-index-frame-line--top {
  animation-name: frame-line-restore-x;
  animation-delay: 2700ms;
}

.project-index.is-info-closing .project-index-info-toggle:is(:hover, :focus-visible) .project-index-frame-line--right,
.project-index.is-cv-closing .project-index-cv-toggle:is(:hover, :focus-visible) .project-index-frame-line--right {
  animation-name: frame-line-restore-y;
  animation-delay: 3100ms;
}

.project-index.is-info-closing .project-index-info-toggle:is(:hover, :focus-visible) .project-index-frame-line--bottom,
.project-index.is-cv-closing .project-index-cv-toggle:is(:hover, :focus-visible) .project-index-frame-line--bottom {
  animation-name: frame-line-restore-x;
  animation-delay: 3500ms;
}

.project-index.is-projects-open .project-index-root .project-index-frame-line,
.project-index-info-toggle[aria-expanded="true"] .project-index-frame-line,
.project-index-cv-toggle[aria-expanded="true"] .project-index-frame-line {
  animation-duration: 400ms;
  animation-timing-function: linear;
  animation-fill-mode: both;
}

.project-index.is-projects-open .project-index-root .project-index-frame-line--bottom,
.project-index-info-toggle[aria-expanded="true"] .project-index-frame-line--bottom,
.project-index-cv-toggle[aria-expanded="true"] .project-index-frame-line--bottom {
  animation-name: frame-line-retract-x-to-right;
}

.project-index.is-projects-open .project-index-root .project-index-frame-line--right,
.project-index-info-toggle[aria-expanded="true"] .project-index-frame-line--right,
.project-index-cv-toggle[aria-expanded="true"] .project-index-frame-line--right {
  animation-name: frame-line-retract-y-to-top;
  animation-delay: 400ms;
}

.project-index.is-projects-open .project-index-root .project-index-frame-line--top,
.project-index-info-toggle[aria-expanded="true"] .project-index-frame-line--top,
.project-index-cv-toggle[aria-expanded="true"] .project-index-frame-line--top {
  animation-name: frame-line-retract-x-to-left;
  animation-delay: 800ms;
}

.project-index.is-projects-open .project-index-root .project-index-frame-line--upper-left,
.project-index-info-toggle[aria-expanded="true"] .project-index-frame-line--upper-left,
.project-index-cv-toggle[aria-expanded="true"] .project-index-frame-line--upper-left {
  animation-name: frame-line-retract-y-to-bottom;
  animation-delay: 1200ms;
}

.project-index-info-toggle[aria-expanded="true"] .project-index-destination-title,
.project-index-cv-toggle[aria-expanded="true"] h2 {
  opacity: 1;
  transform: none;
  animation: none;
}

/* Index drawers open at 60% of their original timeline; closing remains unchanged. */
.project-index.is-projects-open .project-index-projects-panel::before,
.project-index.is-projects-open .project-index-branch,
.project-index.is-projects-open .project-index-projects-panel,
.project-index.is-projects-open .project-index-destination,
.project-index.is-info-open .project-index-info::after,
.project-index.is-cv-open .project-index-cv::after,
.project-index-info-content.is-open,
.project-index-cv-content.is-open {
  animation-duration: 1080ms;
  animation-delay: 960ms;
}

.project-index.is-projects-open .project-index-group h2 {
  animation-duration: 378ms;
}

.project-index.is-projects-open .project-index-group:first-child h2 {
  animation-delay: 1050ms;
}

.project-index.is-projects-open .project-index-group:nth-child(2) h2 {
  animation-delay: 1572ms;
}

.project-index.is-projects-open .project-index-link {
  animation-duration: 414ms;
  animation-delay: calc(1122ms + (var(--project-order) * 81ms));
}

.project-index.is-projects-intro-active .project-index-link:not(.has-user-previewed) .project-index-detail:not(.project-index-scale),
.project-index-info-content.is-open .project-index-info-row:not(.has-user-previewed) .project-index-info-detail,
.project-index-cv-content.is-open .cv-item:not(.has-user-previewed) .cv-date,
.project-index-cv-content.is-open .cv-item:not(.has-user-previewed) .cv-copy p {
  animation-duration: 1440ms;
  animation-delay: calc(1410ms + (var(--project-order, var(--info-row-order, var(--cv-order, 0))) * 81ms) + var(--detail-delay, var(--cv-detail-delay, 0ms)));
}

.project-index-info-content.is-open .project-index-info-row,
.project-index-cv-content.is-open .cv-item {
  animation-duration: 324ms;
}

.project-index-info-content.is-open .project-index-info-row {
  animation-delay: calc(1110ms + (var(--info-row-order) * 84ms));
}

.project-index-cv-content.is-open .cv-item:nth-of-type(1) { animation-delay: 1110ms; }
.project-index-cv-content.is-open .cv-item:nth-of-type(2) { animation-delay: 1194ms; }
.project-index-cv-content.is-open .cv-item:nth-of-type(3) { animation-delay: 1278ms; }
.project-index-cv-content.is-open .cv-item:nth-of-type(4) { animation-delay: 1362ms; }
.project-index-cv-content.is-open .cv-item:nth-of-type(5) { animation-delay: 1446ms; }
.project-index-cv-content.is-open .cv-item:nth-of-type(6) { animation-delay: 1530ms; }

/* Desktop CV geometry must finish expanding before markers and their rope are
   revealed. This prevents the SVG from redrawing against moving endpoints. */
@media (min-width: 721px) {
  .project-index-cv-content.is-open .cv-item:nth-of-type(1) { animation-delay: 2100ms; }
  .project-index-cv-content.is-open .cv-item:nth-of-type(2) { animation-delay: 2210ms; }
  .project-index-cv-content.is-open .cv-item:nth-of-type(3) { animation-delay: 2320ms; }
  .project-index-cv-content.is-open .cv-item:nth-of-type(4) { animation-delay: 2430ms; }
  .project-index-cv-content.is-open .cv-item:nth-of-type(5) { animation-delay: 2540ms; }
  .project-index-cv-content.is-open .cv-item:nth-of-type(6) { animation-delay: 2650ms; }

  .project-index-cv-content.is-open .cv-item:not(.has-user-previewed) .cv-date,
  .project-index-cv-content.is-open .cv-item:not(.has-user-previewed) .cv-copy p {
    animation-delay: calc(2460ms + (var(--cv-order) * 110ms) + var(--cv-detail-delay, 0ms));
  }
}

/* IKONY_SCHEMA_ROZMERU: 50px frames, 30px symbols, 10px inner clearance. */
.index-page .project-index-heading,
.index-page .project-index-destination-title,
.index-page .project-index-destination-heading h2 {
  display: flex;
  box-sizing: border-box;
  height: 50px;
  min-height: 50px;
  align-items: center;
  padding-top: 0.18em;
  padding-bottom: 0;
}

.index-page .project-index-symbol,
.index-page .project-index-destination-heading > .project-index-symbol,
.concise-project-symbol,
.concise-project-footer .concise-project-pdf-download {
  width: 50px;
  min-width: 50px;
  height: 50px;
  min-height: 50px;
  flex-basis: 50px;
}

.index-page .project-index-symbol-mark {
  position: relative;
  display: block;
  width: 30px;
  height: 30px;
  font-size: 0;
}

.index-page .project-index-symbol-mark::before,
.index-page .project-index-symbol-mark::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 260ms cubic-bezier(0.65, 0, 0.35, 1);
}

.index-page .project-index-symbol-mark::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.project-index-symbol--star::before,
.concise-project-symbol--star::before {
  width: 30px;
  height: 30px;
}

.concise-project-nav-triangles,
.concise-project-scroll-top-triangles,
.concise-project-pdf-download svg {
  width: 30px;
  height: 30px;
}

.concise-project-footer .concise-project-symbol {
  position: relative;
  margin-left: calc(var(--project-spine-x) - 25px);
  font-size: 0;
}

.concise-project-footer .concise-project-symbol::before,
.concise-project-footer .concise-project-symbol::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 5px;
  background: currentColor;
  transform: translate(-50%, -50%);
  transition: transform 260ms cubic-bezier(0.65, 0, 0.35, 1);
}

.concise-project-footer .concise-project-symbol::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.concise-project-footer button[aria-expanded="true"] .concise-project-symbol::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.concise-project-footer button[aria-expanded="true"] .concise-project-symbol::after {
  transform: translate(-50%, -50%) rotate(135deg);
}

.concise-project-footer button {
  gap: 25px;
}

.concise-project-footer button > span:last-child {
  position: relative;
  display: flex;
  box-sizing: border-box;
  width: fit-content;
  height: 50px;
  min-height: 50px;
  align-items: center;
  padding: 0.12em 0.2em 0;
  background: var(--text);
  color: var(--surface);
  font-family: var(--font-heading);
  font-size: var(--index-drawer-heading-size);
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.concise-project-footer button > span:last-child::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 25px;
  height: 2px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 260ms cubic-bezier(0.65, 0, 0.35, 1);
}

.concise-project-footer button:hover > span:last-child::before,
.concise-project-footer button:focus-visible > span:last-child::before {
  transform: scaleX(1);
}

.concise-project-footer button:hover > span:last-child,
.concise-project-footer button:focus-visible > span:last-child {
  text-decoration: none;
}

@media (max-width: 760px) {
  .concise-project-heading {
    grid-template-columns: minmax(0, 1fr) calc(100px + 0.35rem);
  }

  .index-page :is(.project-index-root, .project-index-destination-heading) {
    min-height: 50px;
    padding-left: 50px;
  }
}

.project-index-cv-content.is-open .cv-line::before {
  animation-duration: 720ms;
  animation-delay: 1050ms;
}

.project-index-info-content.is-open .personal-photo-frame.is-visible {
  animation-duration: 378ms;
  animation-delay: 1230ms;
}

.project-index.is-projects-open .project-index-root .project-index-frame-line,
.project-index-info-toggle[aria-expanded="true"] .project-index-frame-line,
.project-index-cv-toggle[aria-expanded="true"] .project-index-frame-line {
  animation-duration: 240ms;
}

.project-index.is-projects-open .project-index-root .project-index-frame-line--right,
.project-index-info-toggle[aria-expanded="true"] .project-index-frame-line--right,
.project-index-cv-toggle[aria-expanded="true"] .project-index-frame-line--right {
  animation-delay: 240ms;
}

.project-index.is-projects-open .project-index-root .project-index-frame-line--top,
.project-index-info-toggle[aria-expanded="true"] .project-index-frame-line--top,
.project-index-cv-toggle[aria-expanded="true"] .project-index-frame-line--top {
  animation-delay: 480ms;
}

.project-index.is-projects-open .project-index-root .project-index-frame-line--upper-left,
.project-index-info-toggle[aria-expanded="true"] .project-index-frame-line--upper-left,
.project-index-cv-toggle[aria-expanded="true"] .project-index-frame-line--upper-left {
  animation-delay: 720ms;
}

@keyframes project-index-spine-draw {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes project-index-spine-undraw {
  from {
    transform: scaleY(1);
  }

  to {
    transform: scaleY(0);
  }
}

@keyframes project-index-item-fold {
  from {
    opacity: 1;
    transform: translateY(0);
  }

  to {
    opacity: 0;
    transform: translateY(-0.55rem);
  }
}

@keyframes project-index-branch-push {
  from {
    margin-top: 1.25rem;
    padding-top: 0;
  }

  to {
    margin-top: 0;
    padding-top: var(--project-branch-top);
  }
}

@keyframes project-index-panel-push {
  from {
    grid-template-rows: 0fr;
  }

  to {
    grid-template-rows: 1fr;
  }
}

@keyframes project-index-destination-push {
  from {
    margin-top: 1.25rem;
  }

  to {
    margin-top: clamp(2.5rem, 6vw, 5rem);
  }
}

@keyframes project-index-panel-pull {
  from {
    grid-template-rows: 1fr;
  }

  to {
    grid-template-rows: 0fr;
  }
}

@keyframes project-index-destination-pull {
  from {
    margin-top: clamp(2.5rem, 6vw, 5rem);
  }

  to {
    margin-top: 1.25rem;
  }
}

@keyframes project-index-branch-pull {
  from {
    margin-top: 0;
    padding-top: var(--project-branch-top);
  }

  to {
    margin-top: 1.25rem;
    padding-top: 0;
  }
}

@keyframes project-index-info-push {
  from {
    grid-template-rows: 0fr;
    margin-top: 0;
  }

  to {
    grid-template-rows: 1fr;
    margin-top: clamp(1.25rem, 3vw, 2rem);
  }
}

@keyframes project-index-item-unfold {
  from {
    opacity: 0;
    transform: translateY(-0.55rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes project-index-section-unfold {
  from {
    opacity: 0;
    transform: translateY(-0.55rem) rotate(180deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(180deg);
  }
}

@keyframes project-index-section-fold {
  from {
    opacity: 1;
    transform: translateY(0) rotate(180deg);
  }

  to {
    opacity: 0;
    transform: translateY(-0.55rem) rotate(180deg);
  }
}

@keyframes project-index-link-reveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes project-index-detail-wave {
  0%,
  100% {
    max-width: 0;
    opacity: 0;
    transform: translateX(-0.35rem);
  }

  32%,
  70% {
    max-width: var(--detail-open-width, 20rem);
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes frame-line-retract-x-to-right {
  to {
    transform: scaleX(0);
  }
}

@keyframes frame-line-retract-x-to-left {
  to {
    transform: scaleX(0);
  }
}

@keyframes frame-line-retract-y-to-top {
  to {
    transform: scaleY(0);
  }
}

@keyframes frame-line-retract-y-to-bottom {
  to {
    transform: scaleY(0);
  }
}

@keyframes frame-line-restore-x {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes frame-line-restore-y {
  from {
    transform: scaleY(0);
  }

  to {
    transform: scaleY(1);
  }
}

@keyframes project-index-cv-pull {
  from {
    grid-template-rows: 1fr;
    margin-top: clamp(1.25rem, 3vw, 2rem);
  }

  to {
    grid-template-rows: 0fr;
    margin-top: 0;
  }
}

@keyframes cv-rope-retract {
  from {
    stroke-dashoffset: 0;
    opacity: 1;
  }

  to {
    stroke-dashoffset: 1;
    opacity: 0;
  }
}

.personal-panel {
  margin: -1.1rem 0 2rem;
  border: 2px solid var(--line);
  background: var(--surface);
}

.personal-toggle {
  width: 100%;
  border: 0;
  background: var(--surface);
  color: var(--text);
  padding: 0.85rem 1rem;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.personal-toggle:hover,
.personal-toggle[aria-expanded="true"] {
  background: var(--surface);
  color: var(--text);
}

.personal-toggle::after {
  content: "+";
  float: right;
}

.personal-toggle[aria-expanded="true"]::after {
  content: "-";
}

.personal-details {
  border-top: 2px solid var(--line);
  background: var(--surface);
  overflow: hidden;
}

.personal-details.is-open {
  animation: personal-panel-open 360ms ease both;
}

.personal-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(13rem, 18rem);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: start;
  padding: 0.85rem 1rem 1rem;
}

.cv-line {
  position: relative;
  display: grid;
  gap: 0;
  padding: 0;
}

.cv-line::before {
  content: "";
  position: absolute;
  top: 0.6rem;
  bottom: 0.6rem;
  left: calc(clamp(5.4rem, 16vw, 9rem) + 0.7rem + 0.6rem - 1px);
  width: 2px;
  background: var(--line);
  transform: scaleY(0);
  transform-origin: top;
}

.personal-details.is-open .cv-line::before {
  animation: cv-line-draw 620ms cubic-bezier(0.16, 0.78, 0.18, 1) 90ms forwards;
}

.cv-item {
  position: relative;
  display: grid;
  grid-template-columns: clamp(5.4rem, 16vw, 9rem) 1.2rem minmax(0, 1fr);
  gap: 0.7rem;
  align-items: baseline;
  min-height: 3.8rem;
  padding: 0.25rem 0;
  opacity: 0;
  transform: translateY(0.35rem);
}

.personal-details.is-open .cv-item {
  animation: cv-item-in 360ms ease forwards;
}

.personal-details.is-open .cv-item:nth-child(1) {
  animation-delay: 140ms;
}

.personal-details.is-open .cv-item:nth-child(2) {
  animation-delay: 220ms;
}

.personal-details.is-open .cv-item:nth-child(3) {
  animation-delay: 300ms;
}

.personal-details.is-open .cv-item:nth-child(4) {
  animation-delay: 380ms;
}

.personal-details.is-open .cv-item:nth-child(5) {
  animation-delay: 460ms;
}

.personal-details.is-open .cv-item:nth-child(6) {
  animation-delay: 540ms;
}

.cv-date {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: right;
}

.cv-marker {
  position: relative;
  z-index: 1;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid var(--line);
  background: var(--surface);
  align-self: center;
  justify-self: center;
}

.cv-copy h3 {
  margin: 0;
  font-size: 0.98rem;
}

.cv-copy p {
  margin: 0.18rem 0 0;
  color: var(--muted);
  line-height: 1.45;
  max-width: 62ch;
}

.cv-copy a {
  color: var(--line);
  font-weight: 600;
  text-underline-offset: 0.18em;
}

.personal-photo-frame {
  --frame-line: 2px;
  position: relative;
  width: min(100%, 18rem);
  margin: 0;
  padding: 0.55rem;
  justify-self: end;
  opacity: 0;
  transform: translateY(0.45rem);
  background:
    linear-gradient(var(--line), var(--line)) 0 0 / 0 var(--frame-line) no-repeat,
    linear-gradient(var(--line), var(--line)) 100% 0 / var(--frame-line) 0 no-repeat,
    linear-gradient(var(--line), var(--line)) 100% 100% / 0 var(--frame-line) no-repeat,
    linear-gradient(var(--line), var(--line)) 0 100% / var(--frame-line) 0 no-repeat;
}

.personal-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  filter: saturate(0.9);
}

.personal-details.is-open .personal-photo-frame.is-visible {
  animation:
    personal-photo-in 420ms ease 240ms forwards,
    personal-photo-frame-draw 820ms cubic-bezier(0.16, 0.78, 0.18, 1) 360ms forwards;
}

@keyframes personal-panel-open {
  from {
    opacity: 0;
    transform: translateY(-0.35rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cv-line-draw {
  to {
    transform: scaleY(1);
  }
}

@keyframes cv-item-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes personal-photo-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes personal-photo-frame-draw {
  25% {
    background-size:
      100% var(--frame-line),
      var(--frame-line) 0,
      0 var(--frame-line),
      var(--frame-line) 0;
  }

  50% {
    background-size:
      100% var(--frame-line),
      var(--frame-line) 100%,
      0 var(--frame-line),
      var(--frame-line) 0;
  }

  75% {
    background-size:
      100% var(--frame-line),
      var(--frame-line) 100%,
      100% var(--frame-line),
      var(--frame-line) 0;
  }

  100% {
    background-size:
      100% var(--frame-line),
      var(--frame-line) 100%,
      100% var(--frame-line),
      var(--frame-line) 100%;
  }
}

.is-hidden {
  display: none;
}

.fullstage {
  position: relative;
  min-height: 100vh;
}

.project-overlay {
  position: absolute;
  top: 0.5rem;
  left: auto;
  z-index: 20;
  max-width: min(34ch, 36vw);
  pointer-events: none;
  margin: 0 0 0.75rem;
  padding: 0.2rem 0.3rem;
  background: rgba(253, 253, 253, 0.78);
  backdrop-filter: blur(1px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.story-layout {
  display: grid;
  grid-template-columns: minmax(280px, 360px) 1fr;
  gap: 2rem;
  align-items: start;
}

.project-panel {
  position: sticky;
  top: 2rem;
  padding: 1.4rem;
  border: 2px solid var(--line);
  border-radius: 0;
  background: var(--surface);
  min-height: calc(100vh - 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.panel-counter {
  margin: 0;
  color: var(--muted);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.panel-title {
  margin: 0.75rem 0 0;
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  line-height: 1.2;
}

.panel-meta {
  margin: 0.6rem 0 0;
  color: var(--muted);
}

.panel-description {
  margin: 0.45rem 0 0;
  line-height: 1.45;
  max-width: 32ch;
}

.story-content {
  position: relative;
  height: auto;
}

.visual-sticky {
  position: relative;
  top: 0;
  height: auto;
}

.visual-frame {
  position: relative;
  height: auto;
  min-height: 100vh;
  border: 0;
  border-radius: 0;
  background: transparent;
  overflow: visible;
}

.full-bleed {
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.visual-layers {
  position: relative;
}

.visual-layers::after {
  content: "";
  display: block;
  height: 92vh;
}

.visual-layers:has(> .pdf-layer:only-child)::after {
  height: 0;
}

.fullstage:has(.visual-layers > .pdf-layer:only-child),
.fullstage:has(.visual-layers > .pdf-layer:only-child) .visual-frame {
  min-height: 0;
}

.pdf-layer {
  position: relative;
  opacity: 1;
  transform: none;
  transition: none;
  display: grid;
  place-items: center;
  padding: 0;
  min-height: auto;
}

.annotation-layer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: clamp(0.45rem, 1vh, 0.7rem);
  padding: clamp(0.2rem, 0.8vh, 0.45rem) var(--container-gutter) clamp(1.25rem, 4vh, 2.5rem);
  min-height: auto;
}

.intro-only-annotation-layer {
  min-height: auto;
  padding-bottom: clamp(0.75rem, 3vh, 2rem);
}

.annotation-box {
  width: min(72ch, 100%);
  border: 0;
  padding: 0;
  white-space: pre-line;
  line-height: 1.45;
  font-size: clamp(0.88rem, 1.12vw, 1.02rem);
  color: var(--text);
  background: transparent;
}

.annotation-intro {
  align-self: flex-start;
}

.project-header-sheet {
  position: relative;
  align-self: flex-start;
  width: min(42rem, 88vw);
  padding: clamp(0.9rem, 2vw, 1.35rem);
  overflow: hidden;
  background: rgba(90, 125, 117, 0.9);
  color: var(--surface);
  box-shadow: 0 0.8rem 2rem rgba(90, 125, 117, 0.12);
}

.project-header-sheet > :not(.project-header-contour-overlay):not(.project-header-actions) {
  position: relative;
  z-index: 1;
}

.project-header-contour-overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.project-header-contour-viewport {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  min-height: 100svh;
  transform: translate3d(var(--contour-offset-x, 0), var(--contour-offset-y, 0), 0);
}

.project-header-contour-lines {
  --contour-line-color: #ffffff;
  width: 100%;
  height: 100%;
  opacity: 0.42;
}

.fullstage.is-project-loaded:not(.has-played-header-animation) .annotation-box {
  animation: project-header-rise 1600ms cubic-bezier(0.16, 0.78, 0.18, 1) both;
}

@keyframes project-header-rise {
  from {
    opacity: 0;
    transform: translateY(62vh);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.project-header-sheet a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.project-header-actions {
  position: absolute;
  top: clamp(0.55rem, 1.4vw, 0.85rem);
  right: clamp(0.55rem, 1.4vw, 0.85rem);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
}

.project-header-action {
  position: relative;
  display: block;
  border: 1px solid currentColor;
  padding: 0.18rem 0.45rem;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none !important;
  overflow: visible;
}

.project-header-action-item {
  position: relative;
}

.project-header-action:hover {
  background: var(--surface);
  color: var(--line);
}

.project-header-action.is-award {
  --glow-x: 50%;
  --glow-y: 50%;
  border-color: #d7b24a;
  color: #d7b24a;
}

.project-header-action.is-award:hover,
.project-header-action.is-award:focus-visible {
  background:
    radial-gradient(
      circle at var(--glow-x) var(--glow-y),
      rgba(215, 178, 74, 0.5) 0,
      rgba(215, 178, 74, 0.2) 34%,
      rgba(255, 255, 255, 0) 68%
    ),
    #ffffff;
  color: #111111;
  border-color: #d7b24a;
  box-shadow: none;
}

.project-header-action.is-award::before {
  content: none;
}

.project-header-action.is-award:hover::before,
.project-header-action.is-award:focus-visible::before {
  opacity: 0;
}

.project-header-tooltip {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 20;
  width: max-content;
  max-width: min(18rem, 72vw);
  border: 1px solid currentColor;
  padding: 0.45rem 0.55rem;
  background: var(--surface);
  color: var(--line);
  white-space: pre-line;
  font-size: 0.78rem;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-0.2rem);
  transition: opacity 160ms ease, transform 160ms ease;
}

.project-header-action-item.is-award .project-header-tooltip {
  border-color: #d7b24a;
  background: #ffffff;
  color: #111111;
  box-shadow: 0 0.55rem 1.25rem rgba(17, 17, 17, 0.18), 0 0 0.75rem rgba(215, 178, 74, 0.35);
}

.project-header-action-item:hover .project-header-tooltip,
.project-header-action-item:focus-within .project-header-tooltip,
.project-header-action:hover + .project-header-tooltip,
.project-header-action:focus-visible + .project-header-tooltip {
  opacity: 1;
  transform: translateY(0);
}

.annotation-details {
  width: min(42rem, 88vw);
  border: 2px solid var(--line);
  padding: clamp(0.85rem, 1.8vw, 1.25rem);
  background: var(--surface);
}

.annotation-layer + .object-scene-layer {
  padding-top: 0;
}

.annotation-layer + .object-scene-layer .full-width-visual-object-scene {
  padding-top: 0;
}

.object-scene-layer {
  overflow: hidden;
  padding: clamp(0.45rem, 1.5vh, 1rem) 0;
}

.object-scene-layer:not(.has-visible-objects) .object-scene {
  background: transparent !important;
}

.flow-object-scene-layer {
  display: block;
  min-height: auto;
}

.object-scene {
  position: relative;
  width: 100%;
  height: 100%;
}

.flow-object-scene-layer .object-scene {
  height: auto;
  min-height: auto;
}

.annotation-object-scene {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: min(8vw, 5rem);
  height: auto;
  margin-top: 0;
}

.side-by-side-object-scene {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: min(4.5vw, 3rem);
  height: auto;
  padding: clamp(1rem, 3vh, 2rem) 6vw 0;
}

.side-by-side-object-scene.has-carousel {
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
  gap: clamp(1.5rem, 4vh, 3rem);
  height: auto;
  min-height: 92vh;
  padding: clamp(0.75rem, 2vh, 1.5rem) 0 clamp(2rem, 5vh, 4rem);
}

.side-by-side-object-scene.has-carousel .object-row {
  align-items: flex-start;
}

.analysis-object-scene {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  align-items: flex-start;
  gap: clamp(1rem, 2.5vh, 1.6rem) min(5vw, 3.5rem);
  height: auto;
  padding: clamp(4rem, 8vh, 5.5rem) 6vw 0;
}

.analysis-object-scene .scene-object:first-child {
  width: 100% !important;
  align-items: flex-start;
}

.analysis-object-scene .scene-object:first-child .scene-object-image {
  width: min(36vw, 34rem);
}

.map-legend-object-scene {
  position: relative;
  width: 100%;
  height: min(86vw, 94vh);
  min-height: 620px;
  overflow: hidden;
}

.map-legend-object-scene .scene-object {
  position: absolute;
  left: auto;
  top: auto;
  right: auto;
  bottom: auto;
  margin: 0;
}

.map-legend-object-scene .scene-object[data-object-name^="map-"] {
  top: 0;
  right: 0;
  align-items: flex-end;
}

.map-legend-object-scene .scene-object[data-object-name^="legend-"] {
  left: clamp(1rem, 6vw, 5rem);
  bottom: clamp(1rem, 4vw, 3rem);
  align-items: flex-start;
}

.map-legend-object-scene .scene-object[data-object-name="map-situace-aktualni-stav"] {
  width: min(94vw, 1320px) !important;
}

.map-legend-object-scene .scene-object[data-object-name="legend-situace-aktualni-stav"] {
  width: min(88vw, 1180px) !important;
}

.single-text-object-scene {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding: clamp(2rem, 5vh, 4rem) 6vw;
}

.single-text-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
  align-items: flex-start;
}

.stacked-map-text-object-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.75rem, 1.8vh, 1.25rem);
  padding: clamp(1.25rem, 3vh, 2.25rem) 0 clamp(1.5rem, 4vh, 3rem);
}

.stacked-map-text-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
}

.stacked-carousel-object-scene,
.vegetation-object-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.55rem, 1.4vh, 1rem);
  padding: clamp(1rem, 2.4vh, 1.8rem) 0 clamp(1.25rem, 3vh, 2.25rem);
}

.stacked-carousel-object-scene .scene-object,
.vegetation-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
}

.stacked-carousel-object-scene .object-row {
  align-items: flex-start;
}

.vegetation-object-scene .object-row {
  align-items: flex-start;
  gap: min(3vw, 2rem);
}

.vegetation-object-scene .scene-object[data-object-name="vegetace-text"] {
  width: min(34vw, 32rem) !important;
  align-items: flex-start;
}

.vegetation-object-scene .scene-object[data-object-name="vegetace-illustrations"] {
  width: min(53vw, 56rem) !important;
}

.inner-function-object-scene {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(0.75rem, 2vh, 1.4rem) min(4vw, 3rem);
  padding: clamp(1rem, 2.5vh, 2rem) 4vw clamp(1.5rem, 3.5vh, 2.6rem);
}

.inner-function-object-scene .scene-object,
.full-width-visual-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
}

.inner-function-object-scene .scene-object[data-object-name="vnitrni-funkce-text"] {
  width: min(41vw, 43rem) !important;
  align-items: flex-start;
}

.inner-function-object-scene .scene-object[data-object-name="vnitrni-funkce-pricny-rez"] {
  width: min(47vw, 54rem) !important;
}

.inner-function-object-scene .scene-object[data-object-name="vnitrni-funkce-podelny-rez"] {
  width: min(96vw, 118rem) !important;
  flex-basis: 100%;
  margin-top: clamp(0.35rem, 1.2vh, 0.9rem);
}

.inner-function-object-scene .scene-object-text {
  font-size: clamp(1rem, 1.55vw, 1.6rem);
}

.full-width-visual-object-scene {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(1rem, 2.5vh, 2rem) 0 clamp(1.5rem, 3vh, 2.4rem);
}

.full-width-visual-object-scene .scene-object {
  width: min(96vw, 118rem) !important;
}

.full-width-visual-object-scene .scene-object[data-object-name^="abstract-"] {
  width: min(86vw, 1190px) !important;
}

.christmas-day-night-object-scene {
  --christmas-sticky-offset: clamp(3.6rem, 7vh, 5.2rem);
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  max-width: 100%;
  min-height: calc(100vh - var(--christmas-sticky-offset));
  min-height: calc(100dvh - var(--christmas-sticky-offset));
  padding: 0 0 clamp(1.5rem, 3vh, 2.4rem);
  margin-inline: auto;
}

.christmas-day-night-layer {
  display: block;
  min-height: 420vh;
  overflow: visible;
  padding: 0;
  place-items: unset;
}

.christmas-day-night-layer .christmas-day-night-object-scene {
  position: sticky;
  top: var(--christmas-sticky-offset);
}

.christmas-day-night-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
}

.christmas-day-night-object-scene .scene-object[data-object-name="christmas-spirit-day-night-switch"] {
  width: min(96vw, 118rem) !important;
}

.christmas-day-night-object-scene .scene-object[data-object-name="christmas-spirit-text"] {
  position: absolute;
  left: clamp(1rem, 3vw, 2.5rem);
  top: clamp(4.25rem, 11vw, 7.5rem);
  width: min(31rem, 37vw) !important;
  align-items: flex-start;
}

.christmas-day-night-object-scene .scene-object-text {
  box-sizing: border-box;
  padding: clamp(0.85rem, 1.8vw, 1.4rem);
  border: 2px solid rgba(17, 17, 17, 0.86);
  background: rgba(255, 255, 255, 0.86);
  color: #111111;
  font-size: clamp(0.85rem, 1.05vw, 1.1rem);
  line-height: 1.32;
  backdrop-filter: blur(7px);
}

.day-night-switcher {
  position: relative;
  width: 100%;
}

.day-night-switcher .scene-object-image {
  width: 100%;
}

.day-night-image-night {
  position: absolute;
  inset: 0;
  opacity: var(--night-opacity, 0);
  pointer-events: none;
}

.day-night-control {
  position: absolute;
  top: clamp(0.65rem, 1.5vw, 1rem);
  right: clamp(0.65rem, 1.5vw, 1rem);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  width: min(15rem, calc(100% - 1.3rem));
  box-sizing: border-box;
  border: 2px solid rgba(17, 17, 17, 0.84);
  background: rgba(255, 255, 255, 0.82);
  color: #111111;
  padding: 0.42rem 0.55rem;
  font-size: 0.78rem;
  line-height: 1;
  opacity: 0;
  transform: translateY(-0.35rem);
  transition: opacity 180ms ease, transform 180ms ease;
  backdrop-filter: blur(8px);
}

.day-night-switcher.is-control-visible .day-night-control {
  opacity: 1;
  transform: translateY(0);
}

.day-night-control input {
  min-width: 0;
  flex: 1;
  accent-color: #111111;
}

.rewaterization-process-object-scene {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.4rem, 5vh, 4rem);
  padding: clamp(1.5rem, 4vh, 3rem) 4vw clamp(1.8rem, 4vh, 3.4rem);
}

.rewaterization-process-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
}

.rewaterization-process-object-scene .scene-object[data-object-name="rewaterization-definition"] {
  width: min(46rem, 86vw) !important;
  align-self: flex-start;
  margin-left: max(5vw, calc((100vw - 1180px) / 2));
}

.rewaterization-process-object-scene .scene-object[data-object-name="rewaterization-process-diagram"] {
  width: min(72vw, 58rem) !important;
}

.rewaterization-process-object-scene .scene-object-text {
  font-size: clamp(0.95rem, 1.15vw, 1.35rem);
  line-height: 1.34;
}

.rewaterization-photo-carousel-object-scene,
.rewaterization-stacked-object-scene,
.rewaterization-three-part-object-scene,
.rewaterization-top-bottom-object-scene {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1rem, 3vh, 2rem) min(4vw, 3rem);
  padding: clamp(1rem, 3vh, 2rem) 4vw clamp(1.5rem, 4vh, 3rem);
}

.rewaterization-stacked-object-scene,
.rewaterization-top-bottom-object-scene {
  flex-direction: column;
  gap: 0;
}

.rewaterization-three-part-object-scene {
  display: grid;
  grid-template-columns: minmax(0, 0.515fr) minmax(0, 0.485fr);
  align-items: stretch;
  justify-items: stretch;
  gap: 0;
  width: min(94vw, 1180px);
  max-width: 94vw;
  padding-inline: 0;
}

.rewaterization-photo-carousel-object-scene.has-carousel {
  flex-direction: column;
  align-items: center;
  gap: clamp(1.4rem, 4vh, 2.8rem);
}

.rewaterization-photo-carousel-object-scene .object-row {
  padding-inline: 0;
}

.rewaterization-photo-carousel-object-scene .scene-object,
.rewaterization-stacked-object-scene .scene-object,
.rewaterization-three-part-object-scene .scene-object,
.rewaterization-top-bottom-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
}

.rewaterization-photo-carousel-object-scene .scene-object[data-object-name="rewaterization-page-05-top"],
.rewaterization-stacked-object-scene .scene-object,
.rewaterization-top-bottom-object-scene .scene-object {
  width: min(94vw, 1180px) !important;
}

.rewaterization-three-part-object-scene .scene-object:first-child {
  grid-column: 1 / -1;
  width: 100% !important;
}

.rewaterization-three-part-object-scene .scene-object:not(:first-child) {
  width: 100% !important;
}

.rewaterization-three-part-object-scene .scene-object-image {
  width: 100%;
  max-width: 100%;
}

.rewaterization-photo-carousel-object-scene .embedded-carousel-scene {
  width: 100%;
}

.rewaterization-photo-carousel-object-scene .carousel-photo {
  width: min(30vw, 24rem);
}

.rewaterization-html-text {
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.92);
  padding: clamp(0.75rem, 1.5vw, 1.4rem);
}

.krematorium-site-split-object-scene {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  padding: clamp(1rem, 2.5vh, 2rem) 2vw clamp(1.5rem, 3vh, 2.4rem);
}

.krematorium-site-split-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
}

.krematorium-site-split-object-scene .scene-object {
  width: min(48vw, 42rem) !important;
}

.krematorium-sirsi-vztahy-object-scene {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
  padding: clamp(1rem, 2.5vh, 2rem) 2vw clamp(1.5rem, 3vh, 2.4rem);
}

.krematorium-sirsi-vztahy-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
}

.krematorium-sirsi-vztahy-object-scene .scene-object[data-object-name="sirsi-vztahy-left"] {
  width: min(44vw, 48rem) !important;
}

.krematorium-sirsi-vztahy-object-scene .scene-object[data-object-name="velky-okruh-right"] {
  width: min(46vw, 50rem) !important;
}

.krematorium-sirsi-vztahy-object-scene .scene-object[data-object-name="sirsi-vztahy-map"] {
  width: 96vw !important;
  flex-basis: 100%;
}

.krematorium-navrh-cyklus-object-scene,
.krematorium-koncept-object-scene,
.krematorium-dva-svety-object-scene {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0;
  padding: clamp(1rem, 2.5vh, 2rem) 2vw clamp(1.5rem, 3vh, 2.4rem);
}

.krematorium-navrh-cyklus-object-scene .scene-object,
.krematorium-koncept-object-scene .scene-object,
.krematorium-dva-svety-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
}

.krematorium-navrh-cyklus-object-scene .scene-object[data-object-name="navrh-title"] {
  width: 96vw !important;
  margin-right: auto;
}

.krematorium-navrh-cyklus-object-scene .scene-object[data-object-name="navrh-map"],
.krematorium-koncept-object-scene .scene-object[data-object-name="koncept-map"],
.krematorium-dva-svety-object-scene .scene-object[data-object-name="dvasvety-map"] {
  width: 96vw !important;
  flex-basis: 100%;
}

.krematorium-koncept-object-scene .scene-object[data-object-name="koncept-left"],
.krematorium-dva-svety-object-scene .scene-object[data-object-name="dvasvety-left"] {
  width: min(44vw, 48rem) !important;
}

.krematorium-koncept-object-scene .scene-object[data-object-name="koncept-right"],
.krematorium-dva-svety-object-scene .scene-object[data-object-name="dvasvety-right"] {
  width: min(46vw, 50rem) !important;
}

.krematorium-pohled-a-object-scene {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(1rem, 2.5vh, 2rem) 2vw clamp(1.5rem, 3vh, 2.4rem);
}

.krematorium-pohled-a-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
  width: 96vw !important;
}

.zahrada-documentation-object-scene {
  display: grid;
  grid-template-columns: minmax(14rem, 0.55fr) minmax(22rem, 1.1fr);
  grid-template-rows: 1fr 1fr;
  column-gap: clamp(0.8rem, 2vw, 1.4rem);
  row-gap: clamp(0.25rem, 0.8vw, 0.55rem);
  align-items: start;
  padding: clamp(0.35rem, 1vh, 0.8rem) 4vw clamp(0.5rem, 1.4vh, 1rem);
}

.zahrada-documentation-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
  width: 100% !important;
}

.zahrada-documentation-object-scene .scene-object:first-child {
  grid-row: span 2;
}

.zahrada-documentation-object-scene .scene-object-image {
  height: 100%;
  object-fit: contain;
}

.zahrada-two-column-object-scene {
  display: grid;
  grid-template-columns: minmax(14rem, 0.55fr) minmax(22rem, 1.1fr);
  gap: clamp(0.8rem, 2vw, 1.4rem);
  align-items: start;
  padding: clamp(0.35rem, 1vh, 0.8rem) 4vw clamp(0.5rem, 1.4vh, 1rem);
}

.zahrada-two-column-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
  width: 100% !important;
}

.zahrada-two-column-object-scene .scene-object[data-object-name="zahrada-scene-5-left"],
.zahrada-two-column-object-scene .scene-object[data-object-name="zahrada-scene-7-left"] {
  justify-self: end;
  width: min(30vw, 25rem) !important;
}

.zahrada-two-column-object-scene .scene-object[data-object-name="zahrada-scene-5-right"],
.zahrada-two-column-object-scene .scene-object[data-object-name="zahrada-scene-7-right"] {
  justify-self: end;
  width: min(39vw, 32.5rem) !important;
}

.zahrada-four-grid-object-scene {
  display: grid;
  grid-template-columns: minmax(16rem, 1fr) minmax(16rem, 1fr);
  gap: clamp(0.45rem, 1.1vw, 0.85rem);
  align-items: start;
  padding: clamp(0.35rem, 1vh, 0.8rem) 4vw clamp(0.5rem, 1.4vh, 1rem);
}

.zahrada-four-grid-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
  width: 100% !important;
}

.zahrada-left-stack-object-scene {
  display: grid;
  grid-template-columns: minmax(14rem, 0.55fr) minmax(22rem, 1.1fr);
  gap: clamp(0.45rem, 1.1vw, 0.85rem);
  align-items: start;
  padding: clamp(0.35rem, 1vh, 0.8rem) 4vw clamp(0.5rem, 1.4vh, 1rem);
}

.zahrada-left-stack-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
  width: 100% !important;
}

.zahrada-left-stack-object-scene .scene-object:first-child {
  grid-row: span 3;
}

.abstract-start-object-scene {
  display: grid;
  grid-template-columns: var(--realization-columns, minmax(0, 535fr) minmax(0, 651fr));
  grid-template-rows: var(--realization-rows, 328fr 158fr 20fr 331fr);
  gap: 0;
  align-items: start;
  justify-self: center;
  box-sizing: content-box;
  width: min(86vw, 1190px);
  aspect-ratio: var(--realization-aspect, 1190 / 841);
  padding: 0;
  background: #ffffff;
}

.abstract-start-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
  width: 100% !important;
  height: 100%;
  gap: 0;
  align-items: stretch;
}

.abstract-start-object-scene .scene-object-image {
  height: 100%;
  object-fit: contain;
}

.abstract-start-object-scene .scene-object[data-object-name="abstract-scene-1-top-left"] {
  grid-column: 1;
  grid-row: 1;
}

.abstract-start-object-scene .scene-object[data-object-name="abstract-scene-1-top-right"] {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.abstract-start-object-scene .scene-object[data-object-name="abstract-scene-1-mid-left"] {
  grid-column: 1;
  grid-row: 2 / span 2;
}

.abstract-start-object-scene .scene-object[data-object-name="abstract-scene-1-down-left"] {
  grid-column: 1;
  grid-row: 4;
}

.abstract-start-object-scene .scene-object[data-object-name="abstract-scene-1-down-right"] {
  grid-column: 2;
  grid-row: 3 / span 2;
}

.abstract-two-left-one-right-object-scene {
  display: grid;
  grid-template-columns: var(--realization-columns, minmax(0, 0.32fr) minmax(0, 0.68fr));
  grid-template-rows: var(--realization-rows, auto auto);
  gap: 0;
  align-items: stretch;
  justify-self: center;
  box-sizing: content-box;
  width: min(86vw, 1190px);
  aspect-ratio: var(--realization-aspect, 1190 / 841);
  padding: 0;
  background: #ffffff;
}

.abstract-two-left-one-right-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
  width: 100% !important;
  min-width: 0;
  height: 100%;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
}

.abstract-two-left-one-right-object-scene .scene-object-image {
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.abstract-two-left-one-right-object-scene .scene-object[data-object-name$="-top-left"] {
  grid-column: 1;
  grid-row: 1;
}

.abstract-two-left-one-right-object-scene .scene-object[data-object-name$="-down-left"] {
  grid-column: 1;
  grid-row: 2;
}

.abstract-two-left-one-right-object-scene .scene-object[data-object-name$="-right"] {
  grid-column: 2;
  grid-row: 1 / span 2;
}

.abstract-two-top-one-down-object-scene {
  display: grid;
  grid-template-columns: var(--realization-columns, minmax(16rem, 1fr) minmax(16rem, 1fr));
  grid-template-rows: var(--realization-rows, auto auto);
  gap: 0;
  align-items: start;
  justify-self: center;
  box-sizing: content-box;
  width: min(86vw, 1190px);
  aspect-ratio: var(--realization-aspect, 1190 / 841);
  padding: 0;
  background: #ffffff;
}

.abstract-two-top-one-down-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
  width: 100% !important;
  height: 100%;
  gap: 0;
  align-items: stretch;
}

.abstract-two-top-one-down-object-scene .scene-object-image {
  height: 100%;
  object-fit: contain;
}

.abstract-two-top-one-down-object-scene .scene-object[data-object-name$="-down"] {
  grid-column: 1 / -1;
}

.abstract-three-left-one-right-object-scene {
  display: grid;
  grid-template-columns: var(--realization-columns, minmax(12rem, 0.48fr) minmax(20rem, 1fr));
  grid-template-rows: var(--realization-rows, auto auto auto);
  gap: 0;
  align-items: start;
  justify-self: center;
  box-sizing: content-box;
  width: min(86vw, 1190px);
  aspect-ratio: var(--realization-aspect, 1190 / 841);
  padding: 0;
  background: #ffffff;
}

.abstract-three-left-one-right-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
  width: 100% !important;
  min-width: 0;
  height: 100%;
  gap: 0;
  align-items: stretch;
  overflow: hidden;
}

.abstract-three-left-one-right-object-scene .scene-object-image {
  max-width: 100%;
  height: 100%;
  object-fit: contain;
}

.abstract-three-left-one-right-object-scene .scene-object[data-object-name="abstract-scene-6-right"] {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.abstract-three-left-one-right-object-scene .scene-object[data-object-name="abstract-scene-6-mid-left"] {
  position: relative;
}

.abstract-three-left-one-right-object-scene .scene-object[data-object-name="abstract-scene-6-mid-left"]::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 16%;
  height: 100%;
  background: #ffffff;
  pointer-events: none;
}

.abstract-three-horizontal-object-scene {
  display: grid;
  grid-template-rows: var(--realization-rows, 310fr 277fr 257fr);
  gap: 0;
  align-items: stretch;
  justify-self: center;
  box-sizing: content-box;
  width: min(86vw, 1190px);
  aspect-ratio: var(--realization-aspect, 1190 / 841);
  padding: 0;
  background: #ffffff;
}

.abstract-three-horizontal-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
  width: 100% !important;
  height: 100%;
  gap: 0;
  align-items: stretch;
}

.abstract-three-horizontal-object-scene .scene-object-image {
  height: 100%;
  object-fit: contain;
}

.abstract-two-column-object-scene {
  display: grid;
  grid-template-columns: var(--realization-columns, minmax(0, 642fr) minmax(0, 552fr));
  gap: 0;
  align-items: stretch;
  justify-self: center;
  box-sizing: content-box;
  width: min(86vw, 1190px);
  aspect-ratio: var(--realization-aspect, 1190 / 841);
  padding: 0;
  background: #ffffff;
}

.abstract-two-column-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
  width: 100% !important;
  height: 100%;
  gap: 0;
  align-items: stretch;
}

.abstract-two-column-object-scene .scene-object-image {
  height: 100%;
  object-fit: contain;
}

.realization-two-column-object-scene,
.realization-single-wide-object-scene,
.realization-single-wide-351-object-scene,
.realization-single-wide-306-object-scene,
.realization-single-wide-513-object-scene,
.realization-full-page-object-scene,
.realization-top-down-object-scene,
.realization-two-top-one-down-object-scene,
.realization-two-even-top-one-down-object-scene,
.realization-two-top-one-down-26-object-scene,
.realization-two-top-one-down-27-object-scene,
.realization-two-top-28-object-scene,
.realization-custom-two-top-one-down-object-scene,
.realization-custom-two-top-object-scene,
.realization-single-custom-object-scene,
.growing-left-stack-right-object-scene,
.growing-two-top-one-down-object-scene {
  display: grid;
  gap: 0;
  justify-self: center;
  box-sizing: content-box;
  width: min(86vw, 1190px);
  aspect-ratio: 1190 / 841;
  padding: 0;
  background: #ffffff;
}

.realization-two-column-object-scene {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.realization-single-wide-object-scene {
  grid-template-rows: 1fr;
  aspect-ratio: 1190 / 340;
}

.realization-single-wide-351-object-scene {
  grid-template-rows: 1fr;
  aspect-ratio: 1190 / 351;
}

.realization-single-wide-306-object-scene {
  grid-template-rows: 1fr;
  aspect-ratio: 1190 / 306;
}

.realization-single-wide-513-object-scene {
  grid-template-rows: 1fr;
  aspect-ratio: 1190 / 513;
}

.realization-full-page-object-scene {
  grid-template-rows: 1fr;
  aspect-ratio: 1190 / 841;
}

.realization-top-down-object-scene {
  grid-template-rows: 741fr 97fr;
}

.realization-two-top-one-down-object-scene {
  grid-template-columns: minmax(0, 0.823fr) minmax(0, 0.177fr);
  grid-template-rows: 741fr 97fr;
}

.realization-two-even-top-one-down-object-scene {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-rows: 741fr 97fr;
}

.realization-two-top-one-down-26-object-scene {
  grid-template-columns: minmax(0, 944fr) minmax(0, 245fr);
  grid-template-rows: 740fr 99fr;
}

.realization-two-top-one-down-27-object-scene {
  grid-template-columns: minmax(0, 527fr) minmax(0, 661fr);
  grid-template-rows: 740fr 99fr;
}

.realization-two-top-28-object-scene {
  grid-template-columns: minmax(0, 494fr) minmax(0, 695fr);
  aspect-ratio: 1189 / 743;
}

.realization-custom-two-top-one-down-object-scene,
.realization-custom-two-top-object-scene,
.realization-single-custom-object-scene,
.growing-left-stack-right-object-scene,
.growing-two-top-one-down-object-scene {
  grid-template-columns: var(--realization-columns, minmax(0, 1fr));
  grid-template-rows: var(--realization-rows, 1fr);
  aspect-ratio: var(--realization-aspect, 1190 / 841);
}

.realization-two-column-object-scene .scene-object,
.realization-single-wide-object-scene .scene-object,
.realization-single-wide-351-object-scene .scene-object,
.realization-single-wide-306-object-scene .scene-object,
.realization-single-wide-513-object-scene .scene-object,
.realization-full-page-object-scene .scene-object,
.realization-top-down-object-scene .scene-object,
.realization-two-top-one-down-object-scene .scene-object,
.realization-two-even-top-one-down-object-scene .scene-object,
.realization-two-top-one-down-26-object-scene .scene-object,
.realization-two-top-one-down-27-object-scene .scene-object,
.realization-two-top-28-object-scene .scene-object,
.realization-custom-two-top-one-down-object-scene .scene-object,
.realization-custom-two-top-object-scene .scene-object,
.realization-single-custom-object-scene .scene-object,
.growing-left-stack-right-object-scene .scene-object,
.growing-two-top-one-down-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
  width: 100% !important;
  height: 100%;
  gap: 0;
  align-items: stretch;
}

.realization-two-column-object-scene .scene-object-image,
.realization-single-wide-object-scene .scene-object-image,
.realization-single-wide-351-object-scene .scene-object-image,
.realization-single-wide-306-object-scene .scene-object-image,
.realization-single-wide-513-object-scene .scene-object-image,
.realization-full-page-object-scene .scene-object-image,
.realization-top-down-object-scene .scene-object-image,
.realization-two-top-one-down-object-scene .scene-object-image,
.realization-two-even-top-one-down-object-scene .scene-object-image,
.realization-two-top-one-down-26-object-scene .scene-object-image,
.realization-two-top-one-down-27-object-scene .scene-object-image,
.realization-two-top-28-object-scene .scene-object-image,
.realization-custom-two-top-one-down-object-scene .scene-object-image,
.realization-custom-two-top-object-scene .scene-object-image,
.realization-single-custom-object-scene .scene-object-image,
.growing-left-stack-right-object-scene .scene-object-image,
.growing-two-top-one-down-object-scene .scene-object-image {
  height: 100%;
  object-fit: fill;
}

.realization-two-top-one-down-object-scene .scene-object[data-object-name$="-down"],
.realization-two-even-top-one-down-object-scene .scene-object[data-object-name$="-down"],
.realization-two-top-one-down-26-object-scene .scene-object[data-object-name$="-down"],
.realization-two-top-one-down-27-object-scene .scene-object[data-object-name$="-down"],
.realization-custom-two-top-one-down-object-scene .scene-object[data-object-name$="-down"],
.growing-two-top-one-down-object-scene .scene-object[data-object-name$="-down"],
.realization-top-down-object-scene .scene-object[data-object-name$="-down"] {
  grid-column: 1 / -1;
}

.growing-left-stack-right-object-scene .scene-object[data-object-name$="-right"] {
  grid-row: 1 / -1;
  grid-column: 2;
}

.krematorium-legenda-object-scene {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: min(3vw, 2rem);
  padding: clamp(1rem, 2.5vh, 2rem) 2vw clamp(1.5rem, 3vh, 2.4rem);
}

.krematorium-legenda-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
}

.krematorium-legenda-object-scene .scene-object[data-object-name="legenda-left"] {
  width: min(45vw, 42rem) !important;
}

.krematorium-legenda-object-scene .scene-object[data-object-name="legenda-right"] {
  width: min(50vw, 46rem) !important;
}

.krematorium-pohled-b-object-scene {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(1rem, 2.5vh, 2rem) 2vw clamp(1.5rem, 3vh, 2.4rem);
}

.krematorium-pohled-b-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
  width: 96vw !important;
}

.krematorium-obradni-sin-object-scene,
.krematorium-zed-object-scene {
  display: grid;
  grid-template-columns: minmax(0, 0.46fr) minmax(0, 0.46fr);
  column-gap: min(4vw, 3rem);
  row-gap: clamp(1rem, 2.5vh, 2rem);
  align-items: start;
  padding: clamp(1rem, 2.5vh, 2rem) 4vw clamp(1.5rem, 3vh, 2.4rem);
}

.krematorium-obradni-sin-object-scene .scene-object,
.krematorium-zed-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
  width: 100% !important;
}

.krematorium-obradni-sin-object-scene .scene-object:not([data-object-name$="-map"]),
.krematorium-zed-object-scene .scene-object:not([data-object-name$="-map"]) {
  grid-column: 1;
}

.krematorium-obradni-sin-object-scene .scene-object[data-object-name$="-map"],
.krematorium-zed-object-scene .scene-object[data-object-name$="-map"] {
  grid-column: 2;
  grid-row: 1 / span 3;
}

.history-kostel-object-scene {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(0.8rem, 1.8vh, 1.2rem);
  padding: clamp(1rem, 2.6vh, 2rem) 6vw clamp(2rem, 4vh, 3rem);
}

.history-kostel-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
  align-items: flex-start;
}

.history-kostel-object-scene .scene-object[data-object-name="kostel-sv-jiri-photo"] {
  width: min(26vw, 24rem) !important;
}

.history-kostel-object-scene .scene-object[data-object-name="kostel-sv-jiri-description"] {
  width: min(32vw, 30rem) !important;
}

.history-kostel-object-scene .scene-object-text {
  font-size: clamp(1rem, 1.22vw, 1.28rem);
  line-height: 1.38;
  text-align: left;
}

.object-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: min(4.5vw, 3rem);
  width: 100%;
  padding: 0 6vw;
}

.scene-object {
  position: absolute;
  left: 50%;
  top: 50%;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transform-origin: center center;
  will-change: transform, opacity;
}

.annotation-object-scene .scene-object,
.side-by-side-object-scene .scene-object,
.analysis-object-scene .scene-object {
  position: static;
  left: auto;
  top: auto;
}

.scene-object-canvas,
.scene-object-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.scene-object-text {
  width: 100%;
  white-space: pre-line;
  line-height: 1.25;
  font-size: clamp(0.95rem, 1.45vw, 1.45rem);
  color: var(--text);
}

.scene-object-caption {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.9rem);
  line-height: 1.2;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
}

.carousel-layer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-scene {
  width: 100vw;
  overflow: hidden;
  padding: clamp(1rem, 2.5vh, 2rem) 0;
}

.carousel-track {
  display: flex;
  align-items: flex-start;
  width: max-content;
  gap: clamp(1rem, 2vw, 1.8rem);
  animation: photo-float 42s linear infinite;
}

.carousel-photo {
  width: min(34vw, 28rem);
  margin: 0;
  flex: 0 0 auto;
}

.carousel-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.carousel-photo figcaption {
  margin-top: 0.45rem;
  font-size: clamp(0.9rem, 1.1vw, 1.25rem);
  line-height: 1.2;
  text-align: right;
  color: var(--text);
}

.embedded-carousel-scene {
  flex: 0 0 100%;
  padding: 0;
  margin-top: clamp(0.75rem, 2vh, 1.5rem);
}

.embedded-carousel-scene .carousel-photo {
  width: min(25vw, 20rem);
}

.compact-carousel-layer .carousel-scene {
  padding: clamp(0.45rem, 1.2vh, 0.8rem) 0;
}

.compact-carousel-layer .carousel-track {
  gap: clamp(0.45rem, 1.1vw, 0.8rem);
}

.compact-carousel-layer .carousel-photo {
  width: min(8vw, 7.5rem);
}

@keyframes photo-float {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - clamp(0.5rem, 1vw, 0.9rem)));
  }
}

.pdf-layer canvas {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  border: 0;
  box-shadow: none;
}

.pdf-layer.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.viewer-status {
  position: absolute;
  right: 1rem;
  bottom: 0.9rem;
  margin: 0;
  font-size: 0.82rem;
  color: var(--text);
  background: var(--surface);
  border: 2px solid var(--line);
  padding: 0.3rem 0.5rem;
  border-radius: 0;
  display: none;
}

.viewer-status.is-visible {
  display: block;
}

.scroll-steps {
  display: none;
}

.story-step {
  min-height: 100vh;
}

.site-footer {
  border-top: 2px solid var(--line);
  margin-top: 2rem;
  padding: 1.1rem 0 2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .selector-header {
    flex-wrap: wrap;
  }

  .year-heading {
    min-height: auto;
  }

  .year-selection-status {
    text-align: left;
  }

  .personal-content {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .personal-photo-frame {
    width: min(100%, 20rem);
    justify-self: center;
    margin-inline: auto;
  }

  .cv-line::before {
    left: calc(0.6rem - 1px);
  }

  .cv-item {
    grid-template-columns: 1.2rem minmax(0, 1fr);
    gap: 0.65rem;
  }

  .project-index-cv .cv-line::before {
    left: calc(0.6rem - 1px);
  }

  .project-index-cv .cv-item {
    grid-template-columns: clamp(9.5rem, 22vw, 12rem) max-content;
  }

  .project-index-cv .cv-copy {
    grid-column: 2;
  }

  .project-index-cv .personal-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .cv-date {
    grid-column: 2;
    text-align: left;
  }

  .cv-marker {
    grid-column: 1;
    grid-row: 1 / span 2;
    align-self: start;
    margin-top: 0.2rem;
  }

  .cv-copy {
    grid-column: 2;
  }

  .project-overlay {
    max-width: calc(100vw - 2rem);
    top: 0.35rem;
  }

  .story-layout {
    grid-template-columns: 1fr;
  }

  .project-panel {
    position: static;
    min-height: auto;
  }

  .visual-sticky {
    top: 0;
    height: auto;
  }

  .scroll-steps {
    display: none;
  }

  .annotation-layer {
    align-items: center;
    padding: 0.5rem 1rem 1rem;
  }

  .project-header-sheet,
  .annotation-details {
    align-self: center;
    width: min(42rem, calc(100vw - 2rem));
    margin-inline: auto;
  }

  .annotation-box {
    width: min(72ch, calc(100vw - 2rem));
  }

  .visual-frame {
    min-height: auto;
  }

  .object-scene-layer {
    overflow: hidden;
    justify-items: center;
    width: 100%;
    padding: 0.5rem 0;
    touch-action: pan-y pinch-zoom;
  }

  .object-scene {
    max-width: 100%;
  }

  .map-legend-object-scene {
    width: 100vw;
    height: min(100vw, 72vh);
    min-height: 0;
  }

  .analysis-object-scene,
  .annotation-object-scene {
    flex-wrap: wrap;
    gap: 1rem;
    padding-inline: 1rem;
  }

  .side-by-side-object-scene {
    flex-wrap: nowrap;
    gap: clamp(0.35rem, 1.4vw, 0.85rem);
    width: min(1190px, 94vw);
    max-width: 94vw;
    padding-inline: 0;
  }

  .side-by-side-object-scene .scene-object {
    min-width: 0;
    max-width: 100%;
  }

  .object-row {
    flex-wrap: wrap;
    padding-inline: 1rem;
  }

  .analysis-object-scene .scene-object,
  .annotation-object-scene .scene-object,
  .object-row .scene-object {
    width: min(100%, 42rem) !important;
  }

  .abstract-start-object-scene,
  .full-width-visual-object-scene,
  .abstract-two-left-one-right-object-scene,
  .abstract-two-top-one-down-object-scene,
  .abstract-three-left-one-right-object-scene,
  .abstract-three-horizontal-object-scene,
  .abstract-two-column-object-scene,
  .realization-two-column-object-scene,
  .realization-single-wide-object-scene,
  .realization-single-wide-351-object-scene,
  .realization-single-wide-306-object-scene,
  .realization-single-wide-513-object-scene,
  .realization-full-page-object-scene,
  .realization-top-down-object-scene,
  .realization-two-top-one-down-object-scene,
  .realization-two-even-top-one-down-object-scene,
  .realization-two-top-one-down-26-object-scene,
  .realization-two-top-one-down-27-object-scene,
  .realization-two-top-28-object-scene,
  .realization-custom-two-top-one-down-object-scene,
  .realization-custom-two-top-object-scene,
  .realization-single-custom-object-scene,
  .rewaterization-process-object-scene,
  .growing-left-stack-right-object-scene,
  .growing-two-top-one-down-object-scene {
    width: min(1190px, 94vw) !important;
    max-width: 94vw;
  }

  .rewaterization-process-object-scene {
    gap: clamp(1.2rem, 4vh, 2.4rem);
    padding-inline: 0;
  }

  .christmas-day-night-object-scene {
    --christmas-sticky-offset: 3.4rem;
    flex-direction: column;
    justify-content: flex-start;
    gap: 1rem;
    width: 100%;
    max-width: 100%;
    overflow: visible;
  }

  .christmas-day-night-layer {
    display: block;
    overflow: visible;
    min-height: 420vh;
    touch-action: pan-y pinch-zoom;
  }

  .christmas-day-night-layer .christmas-day-night-object-scene {
    position: sticky;
    top: var(--christmas-sticky-offset);
  }

  .christmas-day-night-object-scene .scene-object[data-object-name="christmas-spirit-day-night-switch"] {
    width: min(100%, 100vw) !important;
    max-width: 100vw;
  }

  .christmas-day-night-object-scene .scene-object[data-object-name="christmas-spirit-text"] {
    position: static;
    left: auto;
    top: auto;
    width: min(86vw, 24rem) !important;
    align-self: center;
  }

  .christmas-day-night-object-scene .scene-object-text {
    max-height: min(38vh, 22rem);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    font-size: clamp(0.9rem, 3.45vw, 1.08rem);
  }

  .day-night-control {
    top: clamp(0.5rem, 2.5vw, 0.8rem);
    right: clamp(0.5rem, 2.5vw, 0.8rem);
    width: min(13rem, calc(100% - 1rem));
    font-size: 0.72rem;
  }

  .rewaterization-process-object-scene .scene-object[data-object-name="rewaterization-definition"] {
    width: min(88vw, 32rem) !important;
    align-self: center;
    margin-left: 0;
  }

  .rewaterization-process-object-scene .scene-object[data-object-name="rewaterization-process-diagram"] {
    width: min(90vw, 42rem) !important;
  }

  .rewaterization-photo-carousel-object-scene,
  .rewaterization-stacked-object-scene,
  .rewaterization-three-part-object-scene,
  .rewaterization-top-bottom-object-scene {
    width: min(1190px, 94vw) !important;
    max-width: 94vw;
    padding-inline: 0;
  }

  .rewaterization-photo-carousel-object-scene .carousel-photo {
    width: min(88vw, 30rem) !important;
  }

  .carousel-photo {
    width: min(42vw, 12rem);
  }

  .embedded-carousel-scene .carousel-photo,
  .compact-carousel-layer .carousel-photo {
    width: min(28vw, 7.5rem);
  }

  .zahrada-documentation-object-scene,
  .zahrada-two-column-object-scene,
  .zahrada-four-grid-object-scene,
  .zahrada-left-stack-object-scene {
    width: min(1190px, 94vw);
    max-width: 94vw;
    padding-inline: 0;
  }

  .zahrada-documentation-object-scene,
  .zahrada-two-column-object-scene,
  .zahrada-left-stack-object-scene {
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1.1fr);
  }

  .zahrada-four-grid-object-scene {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .concise-project-page {
    --index-page-gutter: clamp(2rem, 5vw, 2.5rem);
  }

  .site-header.concise-project-nameplate {
    height: clamp(5rem, 22vw, 6.5rem);
    min-height: 5rem;
    margin-top: clamp(1.5rem, 8vw, 3rem);
  }

  .index-page {
    --index-page-gutter: clamp(2rem, 5vw, 2.5rem);
  }

  .index-page main {
    padding-inline: var(--index-page-gutter);
  }

  .index-page .index-nameplate {
    height: clamp(5rem, 22vw, 6.5rem);
    min-height: 5rem;
    margin-top: clamp(1.5rem, 8vw, 3rem);
  }

  .project-index {
    --index-menu-width: min(20rem, calc(100vw - (2 * var(--index-page-gutter))));
  }

  .project-index-symbol,
  .project-index-destination-heading > .project-index-symbol {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 2rem;
  }

  .project-index-root[aria-expanded="true"] > .project-index-symbol,
  .project-index-destination-heading[aria-expanded="true"] > .project-index-symbol {
    color: var(--surface);
  }

  .project-index-root,
  .project-index-destination-heading,
  .project-index-info-toggle {
    width: var(--index-menu-width);
    min-height: clamp(3.5rem, 16vw, 4.25rem);
  }

  .project-index-branch,
  .index-page .project-index-branch {
    width: calc(100vw - (2 * var(--index-page-gutter)));
  }

  .project-index-list {
    gap: clamp(0.9rem, 4vw, 1.25rem);
  }

  .project-index-link {
    display: flex;
    flex-wrap: wrap;
    gap: 0.12rem 0.4rem;
    width: calc(100vw - (2 * var(--index-page-gutter)) - var(--drawer-row-start));
    max-width: 100%;
    margin-left: calc(var(--drawer-row-start) - var(--project-branch-indent));
    line-height: 1.2;
    white-space: normal;
  }

  .project-index-scale {
    position: static;
    text-align: left;
    translate: none;
  }

  .project-index-title,
  .project-index-context,
  .project-index-highlight,
  .project-index-detail {
    width: fit-content;
    max-width: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .project-index-info-content-inner,
  .project-index-cv .personal-content {
    grid-template-columns: 1fr;
  }

  .project-index-info-content,
  .project-index-cv-content {
    width: calc(100vw - (2 * var(--index-page-gutter)));
  }

  .project-index-info-content-inner {
    gap: clamp(1.5rem, 7vw, 2.5rem);
    padding-left: calc(var(--project-branch-indent) + 0.5rem);
  }

  .project-index-info-row {
    flex-wrap: wrap;
    gap: 0.12rem 0.4rem;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    white-space: normal;
  }

  .project-index-info-detail {
    position: static;
    flex-basis: 100%;
    width: fit-content;
    max-width: 100%;
    text-align: left;
    translate: none;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .project-index-info .personal-photo-frame {
    justify-self: start;
    width: clamp(9rem, 55vw, 18rem);
    max-width: 100%;
  }

  .project-index-cv .cv-line {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    gap: clamp(0.9rem, 4vw, 1.25rem);
    padding: 0.75rem 0 0.75rem 2rem;
  }

  .project-index-cv .cv-item {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.3rem;
    width: 100%;
    max-width: 100%;
    padding: 0.35rem 0 0.65rem;
    white-space: normal;
  }

  .project-index-cv .cv-date {
    position: static;
    max-width: 100%;
    margin: 0;
    color: color-mix(in srgb, var(--text) 58%, transparent);
    font-size: var(--type-small);
    font-weight: 650;
    opacity: 1;
    text-align: left;
    translate: none;
    transform: none;
    animation: none;
  }

  .project-index-cv .cv-copy {
    grid-column: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.25rem;
    white-space: normal;
  }

  .project-index-cv .cv-copy h3,
  .project-index-cv .cv-copy p {
    margin: 0;
    max-width: 100%;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .project-index-cv .cv-copy h3 {
    font-size: clamp(var(--type-small), 3.8vw, 0.95rem);
  }

  .project-index-cv .cv-copy p {
    color: color-mix(in srgb, var(--text) 58%, transparent);
    font-size: var(--type-small);
    opacity: 1;
    transform: none;
    animation: none;
  }

  .project-index-cv .cv-marker {
    position: absolute;
    top: 0.65rem;
    left: -1.55rem;
    width: 0.58rem;
    height: 0.58rem;
  }
}

/* Web draft 02: solid index controls and continuous drawer spine. */
.index-page .project-index {
  --index-connector-easing: cubic-bezier(0.22, 0.8, 0.2, 1);
  --index-connector-duration: 380ms;
  --index-spine-duration: 1080ms;
  --index-spine-bridge-duration: 380ms;
  --index-spine-delay: 0ms;
}

.index-page .project-index-frame {
  display: none;
}

.index-page .project-index-root {
  z-index: 2;
}

.index-page .project-index-symbol-mark {
  display: block;
  line-height: 1;
  rotate: 0deg;
  transition: rotate 420ms var(--index-connector-easing);
  will-change: rotate;
}

.index-page .project-index-root[aria-expanded="true"] .project-index-symbol-mark,
.index-page .project-index-destination-heading[aria-expanded="true"] .project-index-symbol-mark {
  rotate: 45deg;
}

.index-page .project-index-projects-panel::before {
  z-index: 0;
}

.index-page .project-index-projects-panel::before,
.index-page .project-index-info::after,
.index-page .project-index-cv::after {
  will-change: transform;
  backface-visibility: hidden;
}

.index-page .project-index-heading,
.index-page .project-index-destination-title,
.index-page .project-index-destination-heading h2 {
  position: relative;
  display: block;
  width: fit-content;
  padding: 0.08em 0.2em 0.14em;
  background: var(--index-line-color);
  color: var(--surface);
}

.index-page .project-index-heading::before,
.index-page .project-index-destination-title::before,
.index-page .project-index-destination-heading h2::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 100%;
  width: 1.625rem;
  height: 2px;
  background: var(--index-line-color);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--index-connector-duration) var(--index-connector-easing);
  will-change: transform;
  backface-visibility: hidden;
}

.index-page .project-index-heading:hover::before,
.index-page .project-index-destination-title:hover::before,
.index-page .project-index-destination-heading h2:hover::before,
.index-page .project-index-root:focus-visible .project-index-heading::before,
.index-page .project-index-info-toggle:focus-visible .project-index-destination-title::before,
.index-page .project-index-cv-toggle:focus-visible h2::before {
  transform: scaleX(1);
}

.index-page .project-index-root[aria-expanded="true"] .project-index-heading::before,
.index-page .project-index-info-toggle[aria-expanded="true"] .project-index-destination-title::before,
.index-page .project-index-cv-toggle[aria-expanded="true"] h2::before {
  animation: consume-index-connector var(--index-connector-duration) var(--index-connector-easing) both;
}

@keyframes consume-index-connector {
  from {
    transform-origin: left center;
    transform: scaleX(1);
  }

  to {
    transform-origin: left center;
    transform: scaleX(0);
  }
}

.index-page .project-index-root[aria-expanded="true"] > .project-index-symbol,
.index-page .project-index-destination-heading[aria-expanded="true"] > .project-index-symbol {
  color: var(--surface);
}

.index-page .project-index-destination::before {
  content: "";
  position: absolute;
  top: calc(-1 * clamp(2.5rem, 6vw, 5rem));
  left: calc(-1 * var(--project-branch-indent));
  z-index: 0;
  width: 2px;
  height: calc(clamp(2.5rem, 6vw, 5rem) + 2.125rem);
  background: var(--index-line-color);
  transform: scaleY(0);
  transform-origin: top;
  will-change: transform;
  backface-visibility: hidden;
}

.index-page .project-index:not(.is-projects-open):not(.is-projects-closing) .project-index-destination::before {
  top: -1.25rem;
  left: 0;
  height: calc(1.25rem + 2.125rem);
}

.index-page .project-index.is-projects-open .project-index-info::before,
.index-page .project-index.is-info-open .project-index-cv::before {
  animation: project-index-spine-draw var(--index-spine-bridge-duration) linear var(--index-spine-duration) both;
}

.index-page .project-index.is-projects-open .project-index-projects-panel::before,
.index-page .project-index.is-info-open .project-index-info::after,
.index-page .project-index.is-cv-open .project-index-cv::after {
  animation-timing-function: linear;
}

/* The Projects panel itself moves down while opening. Counter-animate the
   line's offset so its viewport origin stays at the pictogram center instead
   of briefly appearing above the black square. */
.index-page .project-index.is-projects-open .project-index-projects-panel::before {
  animation:
    project-index-project-spine-anchor var(--index-spine-duration) cubic-bezier(0.45, 0, 0.2, 1) both,
    project-index-spine-draw var(--index-spine-duration) linear both;
}

@keyframes project-index-project-spine-anchor {
  from {
    top: -2.125rem;
  }

  to {
    top: calc(-1 * var(--project-branch-top) - 2.125rem);
  }
}

/* With the obsolete frame reveal removed, every part of an opening drawer
   starts with the spine instead of waiting or cascading row by row. */
.index-page .project-index.is-projects-open .project-index-projects-panel::before,
.index-page .project-index.is-projects-open .project-index-branch,
.index-page .project-index.is-projects-open .project-index-projects-panel,
.index-page .project-index.is-projects-open .project-index-destination,
.index-page .project-index.is-info-open .project-index-info::after,
.index-page .project-index.is-cv-open .project-index-cv::after,
.index-page .project-index-info-content.is-open,
.index-page .project-index-cv-content.is-open,
.index-page .project-index.is-projects-open .project-index-group h2,
.index-page .project-index.is-projects-open .project-index-link,
.index-page .project-index-info-content.is-open .project-index-info-row,
.index-page .project-index-info-content.is-open .personal-photo-frame.is-visible {
  animation-delay: 0ms;
}

.index-page .project-index.is-projects-intro-active .project-index-link:not(.has-user-previewed) .project-index-detail:not(.project-index-scale),
.index-page .project-index-info-content.is-open .project-index-info-row:not(.has-user-previewed) .project-index-info-detail {
  animation-delay: 0ms;
}

.index-page .project-index.is-projects-closing .project-index-info::before,
.index-page .project-index.is-info-closing .project-index-cv::before {
  animation: project-index-spine-undraw 900ms cubic-bezier(0.45, 0, 0.2, 1) both;
}

/* Keep the line geometry fixed until the spine has fully retracted. */
.index-page .project-index.is-projects-closing .project-index-projects-panel,
.index-page .project-index.is-projects-closing .project-index-branch,
.index-page .project-index.is-projects-closing .project-index-destination {
  animation-delay: 1600ms;
}

@media (prefers-reduced-motion: reduce) {
  .index-page .project-index-symbol-mark {
    transition: none;
  }

  .index-page .project-index-heading::before,
  .index-page .project-index-destination-title::before,
  .index-page .project-index-destination-heading h2::before {
    animation: none !important;
    transition: none;
    transform: scaleX(0);
  }

  .index-page .project-index-root[aria-expanded="true"] .project-index-heading::before,
  .index-page .project-index-info-toggle[aria-expanded="true"] .project-index-destination-title::before,
  .index-page .project-index-cv-toggle[aria-expanded="true"] h2::before {
    transform: scaleX(0) !important;
  }

  .index-page .project-index.is-projects-open .project-index-info::before,
  .index-page .project-index.is-info-open .project-index-cv::before {
    animation: none;
    transform: scaleY(1);
  }
}

@media (max-width: 620px) {
  .project-index {
    padding: 1rem 0.85rem 1.25rem;
  }

  .project-index-symbol {
    flex-basis: 2.25rem;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 2rem;
  }

  .project-index-branch {
    --project-branch-indent: 2.8rem;
    margin-left: 0.9rem;
    padding: 2rem 0 0 var(--project-branch-indent);
  }

  .project-index-cv .cv-line {
    --cv-date-gutter: 0;
  }

  .project-index-link,
  .project-index-info-row {
    --index-row-gutter: 0;
  }

  .project-index-link {
    margin-left: calc(var(--drawer-row-start) - var(--project-branch-indent));
  }

  .project-index-group {
    min-height: 12rem;
    padding-top: 0.75rem;
  }

  .project-index-group h2 {
    top: 0.75rem;
    font-size: var(--index-section-heading-size);
    writing-mode: vertical-rl;
    left: calc(-1 * var(--project-branch-indent) - 0.9rem);
    transform: rotate(180deg);
  }

  .project-index-link {
    font-size: var(--type-small);
  }

  .project-index-detail {
    max-width: none;
    opacity: 1;
    overflow: hidden;
    white-space: nowrap;
    transform: none;
  }

  .project-index-highlight {
    width: fit-content;
    margin-top: 0.15rem;
  }

  .project-index-destination-heading .project-index-symbol {
    left: calc(-1 * var(--project-branch-indent) - 0.95rem);
  }

  .index-page .project-index-branch {
    width: var(--index-menu-width);
    margin-inline: 0;
  }

  .index-page .project-index-destination-heading > .project-index-symbol {
    left: 0;
  }
}

@media (hover: none) {
  .project-index-detail,
  .project-index-info-detail,
  .project-index-cv .cv-date,
  .project-index-cv .cv-copy p {
    max-width: none;
    opacity: 1;
    transform: none;
    animation: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .project-index.is-projects-open .project-index-frame-line,
  .project-index-info-toggle[aria-expanded="true"] .project-index-frame-line,
  .project-index-cv-toggle[aria-expanded="true"] .project-index-frame-line,
  .project-index.is-projects-open .project-index-branch,
  .project-index.is-projects-open .project-index-projects-panel,
  .project-index.is-projects-open .project-index-destination,
  .project-index-info-content.is-open,
  .project-index-cv-content.is-open,
  .project-index.is-info-open .project-index-info::after,
  .project-index.is-cv-open .project-index-cv::after {
    animation: none;
  }

  .project-index.is-info-open .project-index-info::after,
  .project-index.is-cv-open .project-index-cv::after {
    transform: none;
  }

  .project-index.is-projects-open .project-index-projects-panel,
  .project-index-info-content.is-open,
  .project-index-cv-content.is-open {
    grid-template-rows: 1fr;
  }

  .project-index-info-content.is-open,
  .project-index-cv-content.is-open {
    margin-top: clamp(1.25rem, 3vw, 2rem);
  }

  .project-index-cv-content.is-open .cv-line::before,
  .project-index-cv-content.is-open .cv-item,
  .project-index-info-content.is-open .project-index-info-row,
  .project-index-info-content.is-open .personal-photo-frame.is-visible {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .project-index-cv-content.is-open .cv-date,
  .project-index-cv-content.is-open .cv-copy p,
  .project-index-info-content.is-open .project-index-info-detail {
    max-width: var(--detail-open-width);
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .project-index.is-projects-open .project-index-projects-panel::before,
  .project-index.is-projects-open .project-index-group h2,
  .project-index.is-projects-open .project-index-link {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .project-index.is-projects-intro-active .project-index-link .project-index-detail {
    animation: none;
  }

  .project-index-detail,
  .project-index-title {
    transition: none;
  }
}

/* Shared transparent signature header. */
.index-page .signature-nameplate,
.concise-project-page .signature-nameplate {
  --signature-render-width: 80%;
  --signature-reserved-height: calc((100vw - (2 * var(--index-page-gutter))) / 6.9);
  position: relative;
  left: 0;
  z-index: 120;
  display: flex;
  visibility: visible;
  width: 100vw;
  max-width: none;
  height: auto;
  min-height: var(--signature-reserved-height);
  align-items: flex-start;
  margin: clamp(2.6rem, 4.5vw, 3.5rem) 0 0;
  padding: 0 var(--index-page-gutter);
  overflow: visible;
  border: 0;
  background: transparent;
  opacity: 1;
}

.concise-project-page .signature-nameplate .signature-home-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  width: auto;
  height: auto;
  max-width: none;
}

.index-page .signature-animation,
.concise-project-page .signature-animation,
.index-page .signature-poster,
.concise-project-page .signature-poster {
  display: block;
  width: var(--signature-render-width);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

/* Match the index signature even against the older project-nameplate image
   rule, whose element selector otherwise makes the static poster 100% wide. */
.concise-project-page .signature-nameplate .signature-animation,
.concise-project-page .signature-nameplate .signature-poster {
  width: var(--signature-render-width);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

/* The animation source has an opaque white matte; multiply makes that matte
   visually transparent while preserving the black handwriting and landscape. */
.index-page .signature-animation,
.concise-project-page .signature-animation {
  mix-blend-mode: multiply;
}

.index-page .signature-poster,
.concise-project-page .signature-poster {
  display: none;
}

.index-page .signature-nameplate.is-signature-static .signature-animation,
.concise-project-page .signature-nameplate.is-signature-static .signature-animation,
.signature-complete .signature-nameplate .signature-animation {
  display: none;
}

.index-page .signature-nameplate.is-signature-static .signature-poster,
.concise-project-page .signature-nameplate.is-signature-static .signature-poster,
.signature-complete .signature-nameplate .signature-poster {
  display: block;
}

.index-page .project-index {
  padding-top: clamp(0.35rem, 1vw, 0.85rem);
}

.concise-project-page .concise-project-shell {
  padding-top: clamp(0.75rem, 1.8vw, 1.5rem);
}

@media (max-width: 720px) {
  .index-page .signature-nameplate,
  .concise-project-page .signature-nameplate {
    height: auto;
    min-height: var(--signature-reserved-height);
    margin-top: 2.75rem;
  }

  .index-page .project-index {
    padding-top: clamp(0.25rem, 1.5vw, 0.55rem);
  }

  /* Reserve the completed row geometry from the first frame. Only the ink
     reveals, so long titles cannot cause the project tree to jump or reflow. */
  .project-index.is-projects-intro-active .project-index-link:not(.has-user-previewed) .project-index-detail:not(.project-index-scale) {
    max-width: none;
    opacity: 0;
    overflow: visible;
    transform: translateY(-0.3rem);
    animation: mobile-project-detail-in 420ms ease forwards;
    animation-delay: 0ms;
    transition: none;
  }
}

@keyframes mobile-project-detail-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Web draft 02: editorial Info and CV drawers. */
.project-index-cv-toggle h2 {
  white-space: nowrap;
}

.project-index-info-content-inner {
  --info-content-indent: var(--drawer-row-start);
  grid-template-columns: minmax(23rem, 1fr) minmax(11rem, 17rem);
  gap: clamp(2rem, 7vw, 8rem);
  align-items: center;
  padding: clamp(1.25rem, 3vw, 2.5rem) 0 clamp(2.5rem, 6vw, 5rem) var(--info-content-indent);
}

.project-index-info-contact {
  gap: clamp(0.8rem, 1.8vw, 1.3rem);
  font-size: clamp(var(--type-small), 1.2vw, var(--type-medium));
}

.project-index-info-row {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  gap: clamp(0.65rem, 1.5vw, 1.25rem);
  width: 100%;
  max-width: none;
  margin: 0;
  opacity: 1;
  transform: none;
  white-space: normal;
}

.project-index-info-row dt,
.project-index-info-row dd {
  margin: 0;
}

.project-index-info-row dt {
  color: color-mix(in srgb, var(--text) 62%, transparent);
}

.project-index-info-row dd {
  font-weight: 750;
}

.project-index-info-row:hover,
.project-index-info-row:focus-within {
  translate: none;
}

.project-index-info .personal-photo-frame {
  justify-self: start;
  width: min(100%, 17rem);
}

.project-index-cv-content-inner {
  margin-left: -2rem;
  padding: clamp(1.5rem, 3vw, 2.75rem) 0 clamp(3rem, 8vw, 7rem) 2rem;
}

.project-index-cv .cv-section {
  --cv-section-indent: var(--drawer-row-start);
  position: relative;
  min-height: clamp(9rem, 18vw, 14rem);
  padding-left: var(--cv-section-indent);
}

.project-index-cv .cv-section + .cv-section {
  margin-top: clamp(2.5rem, 7vw, 6rem);
}

.project-index-cv .cv-section > h3 {
  --spine-label-width: 2.25rem;
  position: absolute;
  top: 0;
  left: calc(-1 * var(--spine-label-width) / 2);
  z-index: 2;
  margin: 0;
  display: grid;
  width: var(--spine-label-width);
  place-items: center;
  padding-block: 0.2rem;
  background: var(--surface);
  box-shadow: 0 0 0 0.7rem var(--surface);
  font-family: var(--font-heading);
  font-size: var(--index-section-heading-size);
  font-weight: 500;
  line-height: 1;
  text-transform: lowercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  transform-origin: center;
}

.project-index-cv .cv-section-content {
  display: grid;
  gap: clamp(1.1rem, 2.25vw, 1.9rem);
  max-width: min(100%, 90rem);
}

.project-index-cv .cv-entry {
  margin: 0;
  font-family: var(--font-text);
  font-size: clamp(var(--type-small), 1.2vw, var(--type-medium));
  line-height: 1.45;
}

.project-index-cv .cv-entry p {
  margin: 0;
}

.project-index-cv .cv-date {
  position: static;
  display: inline;
  max-width: none;
  color: var(--text);
  font: inherit;
  font-weight: 400;
  opacity: 1;
  overflow: visible;
  text-align: left;
  white-space: normal;
  translate: none;
  transform: none;
}

.project-index-cv .cv-muted {
  color: color-mix(in srgb, var(--text) 48%, transparent);
}

.project-index-cv mark {
  display: inline;
  padding: 0.04em 0.18em 0.1em;
  background: var(--text);
  color: var(--surface);
  font-weight: 750;
}

@media (max-width: 720px) {
  .project-index-info-content-inner {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1rem 0 2.5rem var(--drawer-row-start);
  }

  .project-index-info-row {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .project-index-info .personal-photo-frame {
    width: clamp(9rem, 52vw, 15rem);
  }

  .project-index-cv .cv-section {
    --cv-section-indent: var(--drawer-row-start);
    min-height: 8rem;
    padding-left: var(--cv-section-indent);
  }

  .project-index-cv .cv-section > h3 {
    --spine-label-width: 1.7rem;
    left: calc(-1 * var(--spine-label-width) / 2);
    font-size: var(--index-section-heading-size);
  }

  .project-index-cv .cv-section-content {
    gap: 1.15rem;
  }

  .project-index-cv .cv-entry {
    font-size: var(--type-small);
    line-height: 1.4;
  }
}

/* WEB_DRAFT_ROZMERY: exact desktop index typography and pixel rhythm. */
@media (min-width: 721px) {
  .index-page .project-index {
    --draft-control-size: clamp(36px, 3.4722vw, 50px);
    --draft-control-gap: clamp(14px, 1.7361vw, 25px);
    --draft-row-gap: clamp(18px, 2.0833vw, 30px);
    --draft-section-gap: clamp(48px, 5.5556vw, 80px);
    --draft-drawer-gap: clamp(60px, 6.9444vw, 100px);
    --draft-body-font-size: clamp(14px, 1.5278vw, 22px);
    --index-drawer-heading-size: clamp(28px, 3.0556vw, 44px);
    --index-section-heading-size: clamp(28px, 3.0556vw, 44px);
  }

  .index-page :is(.project-index-root, .project-index-destination-heading) {
    min-height: var(--draft-control-size);
    padding: 0 1rem 0 calc((var(--draft-control-size) / 2) + var(--draft-control-gap));
  }

  .index-page .project-index-symbol,
  .index-page .project-index-destination-heading > .project-index-symbol {
    width: var(--draft-control-size);
    height: var(--draft-control-size);
    flex-basis: var(--draft-control-size);
  }

  .index-page .project-index-branch {
    --project-branch-top: var(--draft-control-size);
    --project-label-top: 0px;
  }

  .index-page .project-index-list {
    gap: var(--draft-row-gap);
  }

  .index-page .project-index-link {
    font-size: var(--draft-body-font-size);
    line-height: 1.25;
  }

  .index-page .project-index-group {
    display: grid;
    min-height: 0;
  }

  .index-page .project-index-group h2,
  .index-page .project-index-list {
    grid-area: 1 / 1;
  }

  .index-page .project-index-group h2 {
    position: relative;
    align-self: start;
    justify-self: start;
  }

  .index-page .project-index-group + .project-index-group {
    margin-top: var(--draft-section-gap);
  }

  .index-page .project-index-destination {
    margin-top: var(--draft-drawer-gap);
  }

  .index-page .project-index-info-content-inner {
    padding-top: var(--draft-control-size);
    padding-bottom: var(--draft-drawer-gap);
  }

  .index-page .project-index-info-contact {
    gap: var(--draft-row-gap);
    font-size: var(--draft-body-font-size);
    line-height: 1.25;
  }

  .index-page .project-index-cv-content-inner {
    padding-top: var(--draft-control-size);
  }

  .index-page .project-index-cv .cv-section {
    min-height: 0;
  }

  .index-page .project-index-cv .cv-section + .cv-section {
    margin-top: var(--draft-section-gap);
  }

  .index-page .project-index-cv .cv-section-content {
    gap: var(--draft-row-gap);
  }

  .index-page .project-index-cv .cv-entry {
    font-size: var(--draft-body-font-size);
    line-height: 1.25;
  }
}

/* Final icon-schema alignment overrides: keep these after responsive rules. */
.index-page .project-index-heading,
.index-page .project-index-destination-title,
.index-page .project-index-destination-heading h2 {
  display: flex;
  box-sizing: border-box;
  height: 50px;
  min-height: 50px;
  align-items: center;
  padding: 0.12em 0.2em 0;
  line-height: 1;
  font-weight: 600;
}

@media (min-width: 721px) {
  .concise-project-page {
    --index-drawer-heading-size: clamp(28px, 3.0556vw, 44px);
  }
}

/* Text labels use the same 10px inset as every 30px pictogram. */
.index-page .project-index-heading,
.index-page .project-index-destination-title,
.index-page .project-index-destination-heading h2,
.concise-project-footer button > span:last-child {
  box-sizing: border-box;
  height: 50px;
  min-height: 50px;
  padding: 10px;
  font-size: 41px;
  line-height: 30px;
}

.index-page .project-index-cv .cv-section {
  display: grid;
}

.index-page .project-index-cv .cv-section > h3,
.index-page .project-index-cv .cv-section-content {
  grid-area: 1 / 1;
}

.index-page .project-index-cv .cv-section > h3 {
  position: relative;
  align-self: start;
  justify-self: start;
  left: calc(
    -1 * var(--cv-section-indent)
    - (var(--spine-label-width) / 2)
  );
  font-size: var(--index-section-heading-size);
}

/* Exact CV rhythm: separate entries always have 30px between their line
   boxes. Wrapped lines inside one education entry use 15px of leading. */
.index-page .project-index-cv .cv-section-content {
  gap: 0;
}

.index-page .project-index-cv .cv-entry + .cv-entry {
  margin-top: 30px;
}

/* Experience uses an isolated layout so the visible empty space between its
   entry boxes is exactly 30px, with no grid gap or sibling margin stacking. */
.index-page .project-index-cv .cv-section[aria-labelledby="cvExperienceTitle"] .cv-section-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.index-page .project-index-cv .cv-section[aria-labelledby="cvExperienceTitle"] .cv-entry + .cv-entry {
  margin-top: 0;
}

.index-page .project-index-cv .cv-entry {
  line-height: 1;
}

.index-page .project-index-cv .cv-section[aria-labelledby="cvEducationTitle"] .cv-entry {
  line-height: calc(1em + 15px);
}

/* A single deterministic closing timeline prevents delayed geometry and stale
   row animations from leaving drawer text behind after rapid toggles. */
.index-page .project-index.is-projects-closing .project-index-projects-panel::before,
.index-page .project-index.is-projects-closing .project-index-projects-panel,
.index-page .project-index.is-projects-closing .project-index-branch,
.index-page .project-index.is-projects-closing .project-index-destination {
  animation-duration: 900ms;
  animation-delay: 0ms;
}

.index-page .project-index.is-projects-closing .project-index-link {
  animation-duration: 240ms;
  animation-delay: calc(var(--project-reverse-order, 0) * 35ms);
}

.index-page .project-index.is-projects-closing .project-index-group h2 {
  animation-duration: 240ms;
  animation-delay: 0ms;
}

.index-page .project-index.is-projects-closing .project-index-destination-heading {
  animation: project-index-heading-return 900ms cubic-bezier(0.45, 0, 0.2, 1) both;
}

.index-page .project-index-info-content.is-closing,
.index-page .project-index-cv-content.is-closing,
.index-page .project-index.is-info-closing .project-index-info::after,
.index-page .project-index.is-cv-closing .project-index-cv::after {
  animation-duration: 700ms;
  animation-delay: 0ms;
}

.index-page .project-index-info-content.is-closing .project-index-info-row,
.index-page .project-index-info-content.is-closing .personal-photo-frame,
.index-page .project-index-cv-content.is-closing .cv-entry {
  animation: project-index-item-fold 220ms ease both;
  animation-delay: 0ms;
}

.index-page :is(
  .project-index-projects-panel,
  .project-index-info-content,
  .project-index-cv-content
).is-closing,
.index-page .project-index.is-projects-closing .project-index-projects-panel {
  pointer-events: none;
}

@keyframes project-index-heading-return {
  from {
    margin-left: calc(-1 * var(--project-branch-indent));
  }

  to {
    margin-left: 0;
  }
}

.concise-project-heading h1 {
  box-sizing: border-box;
  min-height: 50px;
  padding: 10px;
  font-size: 41px;
  line-height: 30px;
}

.concise-project-nav-triangles,
.concise-project-scroll-top-triangles {
  width: 30px;
  height: 30px;
  justify-content: center;
  gap: 2px;
}

.concise-project-nav-triangles i {
  border-top-width: 15px;
  border-bottom-width: 15px;
}

.concise-project-nav-link--next .concise-project-nav-triangles i {
  border-left-width: 14px;
}

.concise-project-nav-link--previous .concise-project-nav-triangles i {
  border-right-width: 14px;
}

.concise-project-scroll-top-triangles i {
  border-right-width: 15px;
  border-bottom-width: 14px;
  border-left-width: 15px;
}

/* Mobile keeps the 50 / 30 / 10 icon-schema proportions at 72% scale. */
@media (max-width: 720px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  body.concise-project-page {
    min-height: 100vh;
    min-height: 100svh;
    overflow-y: auto;
  }

  .index-page,
  .concise-project-page {
    --mobile-control-size: clamp(34px, 10vw, 44px);
    --mobile-symbol-size: calc(var(--mobile-control-size) - 20px);
    --mobile-control-inset: 10px;
    --mobile-display-size: clamp(17px, 5vw, 22px);
    --mobile-vertical-size: clamp(16px, 4.6vw, 20px);
    --index-page-gutter: clamp(16px, 4.1vw, 20px);
  }

  .index-page .project-index {
    --drawer-row-start: var(--mobile-control-size);
    --mobile-index-offset: calc(var(--mobile-control-size) / 2);
    --index-drawer-heading-size: var(--mobile-display-size);
    --index-section-heading-size: var(--mobile-vertical-size);
    --index-menu-width: calc(
      100vw - (2 * var(--index-page-gutter)) - var(--mobile-index-offset)
    );
    padding-inline: 0;
  }

  .index-page :is(
    .project-index-root,
    .project-index-destination-heading,
    .project-index-info-toggle
  ) {
    width: var(--index-menu-width);
    min-width: 0;
    min-height: var(--mobile-control-size);
    margin-left: var(--mobile-index-offset);
    padding: 0 0 0 calc(var(--mobile-control-size) + var(--mobile-control-inset));
  }

  .index-page .project-index.is-projects-open :is(
    .project-index-info-toggle,
    .project-index-cv-toggle
  ) {
    margin-left: calc(-1 * var(--project-branch-indent));
  }

  .index-page :is(
    .project-index-symbol,
    .project-index-destination-heading > .project-index-symbol
  ),
  .concise-project :is(
    .concise-project-symbol,
    .concise-project-nav-link,
    .concise-project-scroll-top
  ) {
    width: var(--mobile-control-size);
    min-width: var(--mobile-control-size);
    height: var(--mobile-control-size);
    min-height: var(--mobile-control-size);
    flex-basis: var(--mobile-control-size);
  }

  .index-page .project-index-symbol--star::before,
  .concise-project-symbol--star::before {
    width: var(--mobile-symbol-size);
    height: var(--mobile-symbol-size);
  }

  .index-page .project-index-symbol-mark {
    width: var(--mobile-symbol-size);
    height: var(--mobile-symbol-size);
  }

  .index-page .project-index-symbol-mark::before,
  .index-page .project-index-symbol-mark::after {
    width: var(--mobile-symbol-size);
    height: clamp(3px, 1.2vw, 5px);
  }

  .index-page :is(
    .project-index-heading,
    .project-index-destination-title,
    .project-index-destination-heading h2
  ) {
    width: fit-content;
    max-width: 100%;
    height: var(--mobile-control-size);
    min-height: var(--mobile-control-size);
    padding: var(--mobile-control-inset);
    font-size: var(--index-drawer-heading-size);
    line-height: var(--mobile-symbol-size);
    white-space: nowrap;
  }

  .index-page #cvTitle {
    padding-inline: var(--mobile-control-inset);
    scale: 1;
  }

  .project-index-branch,
  .index-page .project-index-branch {
    --project-branch-indent: var(--mobile-control-size);
    width: var(--index-menu-width);
    margin-left: var(--mobile-index-offset);
  }

  .project-index-group h2 {
    --spine-label-width: 1.7rem;
    font-size: var(--index-section-heading-size);
    left: calc(-1 * var(--project-branch-indent) - (var(--spine-label-width) / 2));
  }

  .project-index-link {
    width: calc(100vw - (2 * var(--index-page-gutter)) - var(--drawer-row-start));
    min-width: 0;
    max-width: calc(100% - var(--drawer-row-start));
    margin-left: 0;
  }

  .project-index-link > *,
  .project-index-info-row > *,
  .project-index-cv .cv-entry > * {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .project-index-link .project-index-title {
    white-space: nowrap;
    overflow-wrap: normal;
  }

  .concise-project-heading h1.is-title-scrolling {
    --title-marquee-gap: calc(2 * var(--mobile-control-inset));
    width: calc(100% - var(--project-spine-x) - var(--project-body-start));
  }

  .concise-project-heading h1.is-title-scrolling .concise-project-title-track {
    gap: var(--title-marquee-gap);
    animation: concise-project-title-carousel var(--title-marquee-duration, 12s) linear infinite;
  }

  .concise-project-heading h1.is-title-scrolling .concise-project-title-track > span:last-child {
    display: inline;
  }

  .concise-project {
    --project-spine-x: calc(var(--mobile-control-size) / 2);
    --project-body-start: clamp(1.9rem, 8vw, 2.4rem);
  }

  .concise-project-heading {
    grid-template-columns: minmax(0, 1fr) calc((2 * var(--mobile-control-size)) + 0.35rem);
    column-gap: 0.35rem;
  }

  .concise-project-heading h1 {
    width: fit-content;
    max-width: calc(100% - var(--project-spine-x) - var(--project-body-start));
    min-height: var(--mobile-control-size);
    margin-left: calc(var(--project-spine-x) + var(--project-body-start));
    padding: var(--mobile-control-inset);
    font-size: clamp(17px, 5vw, 22px);
    line-height: var(--mobile-symbol-size);
    white-space: nowrap;
    overflow-wrap: normal;
    overflow: hidden;
  }

  .concise-project-nav {
    gap: 0.18rem;
  }

  .concise-project-nav-triangles,
  .concise-project-scroll-top-triangles {
    width: var(--mobile-symbol-size);
    height: var(--mobile-symbol-size);
    gap: 1px;
  }

  .concise-project-nav-triangles i {
    border-top-width: calc(var(--mobile-symbol-size) / 2);
    border-bottom-width: calc(var(--mobile-symbol-size) / 2);
  }

  .concise-project-nav-link--next .concise-project-nav-triangles i {
    border-left-width: calc((var(--mobile-symbol-size) - 1px) / 2);
  }

  .concise-project-nav-link--previous .concise-project-nav-triangles i {
    border-right-width: calc((var(--mobile-symbol-size) - 1px) / 2);
  }

  .concise-project-spine-label {
    --spine-label-width: 1.7rem;
    right: calc(100% + var(--project-content-offset) - (var(--spine-label-width) / 2));
    font-size: var(--mobile-vertical-size);
    line-height: 1;
  }

  .concise-project-intro,
  .concise-project-section {
    min-width: 0;
    padding-left: calc(var(--project-spine-x) + var(--project-body-start));
  }

  .concise-project-annotation,
  .concise-project-highlight,
  .concise-project-fact,
  .concise-project-fact dd {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .concise-project-section:nth-child(n) figure,
  .concise-project-section--model figure {
    width: calc(
      100vw - (2 * var(--index-page-gutter)) - var(--project-spine-x) - var(--project-body-start)
    );
    max-width: 100%;
  }

  .concise-project-shell {
    padding-bottom: calc(clamp(5rem, 18vw, 7rem) + env(safe-area-inset-bottom, 0px));
  }

  .concise-project::after {
    content: "";
    display: block;
    width: 100%;
    height: calc(clamp(8rem, 32vw, 11rem) + env(safe-area-inset-bottom, 0px));
    pointer-events: none;
  }

  .concise-project-footer {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--mobile-control-size);
    column-gap: clamp(12px, 4vw, 18px);
    align-items: center;
    min-width: 0;
    min-height: var(--mobile-control-size);
    scroll-margin-top: calc(var(--mobile-control-size) + 1rem);
    scroll-margin-bottom: calc(var(--mobile-control-size) + env(safe-area-inset-bottom, 0px));
  }

  .concise-project-footer button {
    grid-column: 1;
    min-width: 0;
    max-width: 100%;
    gap: clamp(17px, 5vw, 22px);
  }

  .concise-project-footer .concise-project-symbol {
    margin-left: calc(var(--project-spine-x) - (var(--mobile-control-size) / 2));
  }

  .concise-project-footer .concise-project-symbol::before,
  .concise-project-footer .concise-project-symbol::after {
    width: var(--mobile-symbol-size);
    height: clamp(3px, 1.2vw, 5px);
  }

  .concise-project-footer button > span:last-child {
    width: fit-content;
    max-width: calc(100vw - (2 * var(--index-page-gutter)) - var(--mobile-control-size));
    height: var(--mobile-control-size);
    min-height: var(--mobile-control-size);
    padding: var(--mobile-control-inset);
    font-size: var(--mobile-display-size);
    line-height: var(--mobile-symbol-size);
    overflow-wrap: anywhere;
  }

  .concise-project-footer button > span:last-child::before {
    width: clamp(17px, 5vw, 22px);
  }

  .concise-project-footer.is-presentation-open .concise-project-pdf-download,
  .concise-project-footer.has-download .concise-project-pdf-download {
    grid-column: 2;
    justify-self: end;
    flex: 0 0 var(--mobile-control-size);
    width: var(--mobile-control-size);
    min-width: var(--mobile-control-size);
    max-width: var(--mobile-control-size);
    height: var(--mobile-control-size);
    min-height: var(--mobile-control-size);
  }

  .concise-project-pdf-download svg {
    width: var(--mobile-symbol-size);
    height: var(--mobile-symbol-size);
  }

  .concise-project-full-presentation {
    width: calc(100vw - (2 * var(--index-page-gutter)));
    height: calc(100svh - env(safe-area-inset-bottom, 0px));
    margin-left: calc(50% - 50vw + var(--index-page-gutter));
    margin-right: calc(50% - 50vw + var(--index-page-gutter));
  }

  .concise-project-full-presentation--image-sequence {
    height: auto;
    gap: var(--index-page-gutter);
    overflow: visible;
  }

  .concise-project-pdf-frame {
    touch-action: pan-x pan-y pinch-zoom;
  }

  .concise-project-scroll-top {
    box-sizing: border-box;
    display: grid;
    width: var(--mobile-control-size);
    min-width: var(--mobile-control-size);
    height: var(--mobile-control-size);
    min-height: var(--mobile-control-size);
    place-items: center;
    right: var(--index-page-gutter);
    bottom: calc(
      var(--index-page-gutter)
      + env(safe-area-inset-bottom, 0px)
      + var(--visual-viewport-bottom, 0px)
    );
    padding: 0;
    border: 0;
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(calc(var(--mobile-control-size) + clamp(16px, 4vw, 20px) + env(safe-area-inset-bottom, 0px)));
    transition:
      opacity 220ms ease,
      transform 460ms cubic-bezier(0.22, 0.8, 0.2, 1),
      visibility 0s linear 460ms;
  }

  .concise-project-scroll-top-triangles i {
    border-right-width: calc(var(--mobile-symbol-size) / 2);
    border-bottom-width: calc((var(--mobile-symbol-size) - 1px) / 2);
    border-left-width: calc(var(--mobile-symbol-size) / 2);
  }

  .concise-project-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
    transition-delay: 0s;
  }

  .concise-project.is-project-nav-floating .concise-project-back {
    left: calc(var(--index-page-gutter) + (var(--mobile-control-size) / 2));
    transform: translateX(-50%);
  }
}

@keyframes concise-project-title-carousel {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - (var(--title-marquee-gap) / 2)));
  }
}

@media (prefers-reduced-motion: reduce) {
  .concise-project-heading h1.is-title-scrolling .concise-project-title-track {
    animation-play-state: paused;
  }
}

/* Touch index rows reveal once and remain expanded; they never depend on the
   synthetic hover state emitted by iOS/iPadOS after a tap. */
@media (hover: none), (pointer: coarse) {
  .index-page .project-index .project-index-link .project-index-detail {
    max-width: none;
    opacity: 1;
    overflow: visible;
    transform: none;
    animation: none;
    transition: none;
    white-space: normal;
  }

  .index-page .project-index.is-projects-intro-active
    .project-index-link:not(.has-user-previewed)
    .project-index-detail:not(.project-index-scale) {
    max-width: none;
    opacity: 0;
    transform: translateY(-0.3rem);
    animation: touch-project-detail-in 460ms ease forwards;
    animation-delay: calc(720ms + (var(--project-order) * 70ms) + var(--detail-delay, 0ms));
  }

  .index-page .project-index-link:is(:hover, :focus, :focus-visible) .project-index-detail {
    max-width: none;
    opacity: 1;
    transform: none;
  }
}

@keyframes touch-project-detail-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Tablet pages preserve the desktop control geometry and equal visible screen
   margins. Offset the whole project shell by half a control; changing the
   internal spine coordinate breaks the fixed home-to-title distance and moves
   vertical labels away from their line. */
@media (min-width: 721px) and (max-width: 1024px) {
  .index-page,
  .concise-project-page {
    --index-page-gutter: clamp(50px, 6vw, 64px);
  }

  .index-page main {
    padding-inline: var(--index-page-gutter);
  }

  .index-page .project-index {
    width: calc(100% - 50px);
    margin-left: 25px;
  }

  .concise-project-shell {
    padding-left: calc(var(--project-page-gutter) + 25px);
    padding-right: var(--project-page-gutter);
  }

  .concise-project {
    --project-spine-x: 0px;
    --project-title-control-gap: calc(var(--project-body-start) - 25px);
  }

  .concise-project-heading {
    column-gap: var(--project-title-control-gap);
  }

  .concise-project-heading h1 {
    max-width: calc(100% - var(--project-body-start));
    overflow: hidden;
    white-space: nowrap;
  }

  .concise-project-heading h1.is-title-scrolling {
    --title-marquee-gap: 20px;
    width: calc(100% - var(--project-body-start));
  }

  .concise-project-heading h1.is-title-scrolling .concise-project-title-track {
    gap: var(--title-marquee-gap);
    animation: concise-project-title-carousel var(--title-marquee-duration, 12s) linear infinite;
  }

  .concise-project-heading h1.is-title-scrolling .concise-project-title-track > span:last-child {
    display: inline;
  }
}

/* iPad keeps copy and hero in separate left/right columns. Unlike the desktop
   grid, both tracks may shrink below their content's intrinsic width, so a
   large cover can never extend underneath the copy. */
@media (min-width: 761px) and (max-width: 1024px) {
  .concise-project-intro {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.35fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  .concise-project-intro > * {
    min-width: 0;
    max-width: 100%;
  }

  .concise-project-intro-copy,
  .concise-project-intro-copy > *,
  .concise-project-highlight a,
  .concise-project-annotation p {
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  .concise-project-hero,
  .concise-project-hero img {
    width: 100%;
    max-width: 100%;
  }

  .concise-project-hero {
    position: relative;
    overflow: hidden;
    contain: layout paint;
  }
}

/* Embedded scenes follow their artwork height, with a compact page handoff. */
.embedded-presentation .fullstage { min-height: 0; }
.embedded-presentation .pdf-layer {
  height: auto;
  min-height: 0;
  overflow: hidden;
  padding-block: 0;
  margin-bottom: 12px;
}
.embedded-presentation .object-scene {
  min-width: 0;
  min-height: 0;
}
.embedded-presentation .scene-object {
  min-width: 0;
  min-height: 0;
}
.embedded-presentation .scene-object-image { object-fit: contain; }
.source-page-object-scene { display: block; height: auto; }
.source-page-object-scene .scene-object {
  position: absolute;
  left: var(--source-left);
  top: var(--source-top);
  width: var(--source-width) !important;
  height: var(--source-height);
  margin: 0;
}
.source-page-object-scene .scene-object-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.concise-project-full-presentation--compact {
  height: auto;
  overflow: visible;
}
.embedded-presentation .object-scene { padding-block: 0; }
.source-page-object-scene .scene-object::after { content: none; }

/* Keep deliberate internal spacing compact after trimming blank source margins. */
.compact-animated-flow .rewaterization-process-object-scene,
.compact-animated-flow .rewaterization-photo-carousel-object-scene.has-carousel,
.compact-animated-flow .krematorium-obradni-sin-object-scene,
.compact-animated-flow .krematorium-zed-object-scene {
  row-gap: 12px;
}
.compact-animated-flow .side-by-side-object-scene {
  align-items: flex-start;
}

/* Intro layout reference, October 2026: line, title and square controls. */
.index-page .index-layout-header {
  --header-control-size: 50px;
  --header-content-offset: 50px;
  position: relative;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: var(--header-control-size);
  margin: 60px var(--index-page-gutter) 60px;
  padding-left: var(--header-content-offset);
}
.index-layout-header::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: calc(-1 * var(--index-page-gutter));
  height: 2px;
  background: #000;
  z-index: -1;
}
.index-layout-header::after {
  content: '';
  position: absolute;
  top: 50%;
  bottom: -60px;
  left: 0;
  width: 2px;
  background: #000;
}
.index-layout-header h1 {
  margin: 0 auto 0 0;
  background: var(--bg);
  font-family: var(--font-heading);
  font-size: var(--type-medium);
  font-weight: 500;
  line-height: 1.2;
}
.index-header-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 25px;
}
.index-header-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: var(--header-control-size);
  height: var(--header-control-size);
  border: 0;
  padding: 10px;
  background: #000;
  color: #fff;
  font: 500 var(--type-medium)/1 var(--font-heading);
  cursor: pointer;
}
.index-header-button:focus-visible {
  outline: 2px solid #000;
  outline-offset: 4px;
}
.index-header-help-text {
  position: absolute;
  right: 0;
  top: 100%;
  width: min(390px, 100%);
  padding: 20px;
  border: 2px solid #000;
  background: var(--bg);
  font: 400 var(--type-small)/1.5 var(--font-text);
}
.index-header-help-text[hidden] { display: none; }
.index-header-help-text p { margin: 0; }
.index-header-help-text p + p { margin-top: 15px; }
.index-page .index-layout-header + main .project-index { padding-top: 0; }
@media (max-width: 720px) {
  .index-page .index-layout-header {
    --header-control-size: var(--mobile-control-size);
    --header-content-offset: calc(var(--mobile-control-size) * 1.5 + 10px);
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 30px;
  }
  .index-layout-header h1 { flex: 1 1 100%; }
  .index-header-actions { margin-left: auto; gap: 15px; }
  .index-layout-header::before { top: calc(100% - var(--header-control-size) / 2); }
  .index-layout-header::after {
    top: calc(100% - var(--header-control-size) / 2);
    bottom: -30px;
    left: calc(var(--mobile-control-size) / 2);
  }
  .index-header-button { font-size: var(--mobile-display-size); }
}
