:root {
  --project-bg: #050505;
  --project-text: #f2eee7;
  --project-muted: #9f988d;
  --project-line: #24221f;
  --hasselblad-orange: #ff6b00;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-ink: cubic-bezier(0.38, 0, 0.18, 1);
  --font-sans: "Inter", ui-sans-serif, system-ui, -apple-system,
    BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Noto Serif SC", "Songti SC", "SimSun", serif;
  --font-english-serif: "Playfair Display", Georgia, serif;
  --project-header-text-offset: 17px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--project-bg);
  color: var(--project-text);
  font-family: var(--font-sans);
}

html[lang="en"] .statement-copy,
html[lang="en"] .exhibition-record dd {
  font-family: var(--font-english-serif);
}

html[lang="en"] .statement-copy {
  letter-spacing: 0;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible {
  outline: 2px solid var(--project-text);
  outline-offset: 5px;
}

.project-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 24px;
  padding: 18px clamp(18px, 5vw, 56px) 34px;
  background: linear-gradient(
    180deg,
    rgba(7, 9, 8, 0.78) 0%,
    rgba(7, 9, 8, 0.58) 58%,
    rgba(7, 9, 8, 0.2) 82%,
    rgba(5, 5, 5, 0) 100%
  );
  -webkit-backdrop-filter: blur(22px) saturate(1.12);
  backdrop-filter: blur(22px) saturate(1.12);
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 64%,
    rgba(0, 0, 0, 0.62) 82%,
    transparent 100%
  );
  color: var(--project-muted);
  font-size: 14px;
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 900ms var(--ease-smooth) 5150ms,
    transform 900ms var(--ease-smooth) 5150ms;
}

.flight-page .project-header {
  transition:
    opacity 760ms var(--ease-smooth) 260ms,
    transform 760ms var(--ease-smooth) 260ms;
}

body.is-ready .project-header {
  opacity: 1;
  transform: translateY(0);
}

body.flight-page.is-ready .project-header {
  opacity: 1;
  transform: translateY(0);
}

.back-link:hover,
.project-header nav a:hover {
  color: var(--hasselblad-orange);
}

.project-header nav {
  display: flex;
  gap: 22px;
  justify-self: end;
  transform: translateY(var(--project-header-text-offset));
}

.project-header > div {
  display: contents;
}

.back-link {
  justify-self: start;
  transform: translateY(var(--project-header-text-offset));
}

.mini-logo {
  display: block;
  width: clamp(88px, 8vw, 118px);
  grid-column: 2;
  grid-row: 1;
  justify-self: center;
  margin-bottom: 0;
  padding: 0;
  background: transparent;
  border: 0;
}

.mini-logo img {
  display: block;
  width: 100%;
  height: auto;
  filter: invert(1) brightness(1.6) contrast(1.28);
  opacity: 0.82;
}

.text-logo {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--project-line);
  color: var(--project-text);
  font-weight: 800;
  letter-spacing: 0;
}

.porthole-logo {
  position: relative;
  display: block;
  width: 46px;
  height: auto;
  border: 0;
  background: transparent;
  isolation: isolate;
}

.porthole-logo img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: auto;
  filter:
    drop-shadow(0 12px 24px rgba(0, 0, 0, 0.44))
    drop-shadow(0 0 1px rgba(255, 255, 255, 0.35));
}

.cinematic-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 110px clamp(18px, 5vw, 56px) 72px;
}

.cinematic-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.04), #050505 92%);
  pointer-events: none;
}

.flight-page {
  --project-bg: #070908;
  --project-line: #252a27;
  --project-muted: #9ba49d;
  --hasselblad-orange: #7dc4a8;
}

.flight-page::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 28%),
    radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.025), transparent 32%);
}

.flight-page main {
  position: relative;
  z-index: 1;
}

.flight-page .project-header {
  position: fixed;
  z-index: 20;
}

.flight-loader-screen {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: block;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 24%),
    #030303;
  color: #f2eee7;
  opacity: 1;
  visibility: visible;
  transition:
    opacity 900ms var(--ease-smooth) 240ms,
    visibility 0ms linear 1200ms;
}

.flight-loader-screen::before {
  content: none;
}

.flight-loader-model {
  position: absolute;
  left: clamp(18px, 4vw, 48px);
  bottom: 54px;
  z-index: 2;
  display: block;
  color: rgba(242, 238, 231, 0.94);
  font-family: var(--font-sans);
  font-size: clamp(52px, 10vw, 148px);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 26px rgba(255, 107, 0, 0.2);
}

.flight-loader-ascii-wrap {
  position: absolute;
  inset: clamp(20px, 4vw, 58px) clamp(14px, 3.5vw, 58px) clamp(150px, 20vw, 210px);
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.flight-loader-ascii {
  margin: 0;
  max-width: 100%;
  color: rgba(242, 238, 231, 0.88);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;
  font-size: clamp(3.6px, 0.52vw, 7px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: 0;
  white-space: pre;
  text-shadow: 0 0 18px rgba(255, 107, 0, 0.22);
  transform: translateY(-1vh);
  filter: contrast(1.08);
}

.flight-loader-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
  padding: 0 clamp(18px, 4vw, 48px) 17px;
}

.flight-loader-track {
  grid-column: 1 / -1;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  overflow: hidden;
  background: rgba(242, 238, 231, 0.14);
}

.flight-loader-track span {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, rgba(255, 107, 0, 0.88), rgba(242, 238, 231, 0.86));
  transition: transform 360ms var(--ease-smooth);
}

.flight-loader-screen p {
  margin: 0;
  color: rgba(242, 238, 231, 0.6);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

#flight-loader-percent {
  color: rgba(242, 238, 231, 0.8);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

body.flight-loader-done .flight-loader-screen {
  opacity: 0;
  visibility: hidden;
}

html[data-theme="light"] .flight-loader-screen {
  background:
    linear-gradient(180deg, rgba(3, 3, 3, 0.045), transparent 26%),
    #f4f1eb;
  color: #12110f;
}

html[data-theme="light"] .flight-loader-model {
  color: rgba(18, 17, 15, 0.9);
  text-shadow: 0 0 22px rgba(159, 47, 39, 0.14);
}

html[data-theme="light"] .flight-loader-ascii {
  color: rgba(18, 17, 15, 0.78);
  text-shadow: 0 0 14px rgba(159, 47, 39, 0.12);
}

html[data-theme="light"] .flight-loader-track {
  background: rgba(18, 17, 15, 0.14);
}

html[data-theme="light"] .flight-loader-track span {
  background: linear-gradient(90deg, rgba(159, 47, 39, 0.86), rgba(18, 17, 15, 0.7));
}

html[data-theme="light"] .flight-loader-screen p,
html[data-theme="light"] #flight-loader-percent {
  color: rgba(18, 17, 15, 0.68);
}

.flight-hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  align-items: center;
  gap: clamp(24px, 4.4vw, 72px);
  padding: 68px clamp(18px, 5vw, 64px) 64px;
  overflow: hidden;
}

.flight-orb {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: min(74svh, 700px);
  min-height: 500px;
  justify-self: center;
  margin-left: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: none;
  background: transparent;
  opacity: 0;
  transform: translateY(10px) scale(0.992);
  transition:
    opacity 1100ms var(--ease-smooth) 260ms,
    transform 1100ms var(--ease-smooth) 260ms;
}

#flight-globe {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform: translateY(-2.5%);
  background: transparent;
}

#flight-globe,
#flight-globe .cesium-widget,
#flight-globe .cesium-widget canvas {
  width: 100%;
  height: 100%;
}

#flight-globe canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
  background: var(--project-bg) !important;
  filter: none;
  transition: filter 420ms var(--ease-smooth), opacity 420ms var(--ease-smooth);
}

.flight-globe-tooltip {
  position: absolute;
  z-index: 4;
  display: grid;
  gap: 3px;
  min-width: 190px;
  max-width: 240px;
  padding: 10px 12px;
  border: 1px solid rgba(242, 238, 231, 0.16);
  border-radius: 8px;
  color: rgba(242, 238, 231, 0.9);
  background: rgba(7, 9, 8, 0.82);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.34);
  opacity: 0;
  transform: translateY(4px);
  pointer-events: none;
  transition: opacity 140ms ease, transform 140ms ease;
}

.flight-globe-tooltip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.flight-globe-tooltip strong {
  font-size: 12px;
  line-height: 1.1;
}

.flight-globe-tooltip span,
.flight-globe-tooltip small {
  color: rgba(242, 238, 231, 0.64);
  font-size: 10px;
  line-height: 1.35;
}

.cesium-viewer,
.cesium-viewer-cesiumWidgetContainer,
.cesium-widget {
  background: var(--project-bg) !important;
}

.porthole-light-asset {
  display: none !important;
}

html[data-theme="light"] .flight-page {
  --project-bg: #f6f2ea;
  --project-text: #191713;
  --project-muted: #756f66;
  --project-line: #d8d0c4;
  --hasselblad-orange: #9f2f27;
  color-scheme: light;
}

html[data-theme="light"] .flight-page::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.42), transparent 30%),
    radial-gradient(circle at 50% 42%, rgba(159, 47, 39, 0.035), transparent 34%);
}

html[data-theme="light"] .flight-globe-tooltip {
  border-color: rgba(18, 17, 15, 0.12);
  color: rgba(18, 17, 15, 0.9);
  background: rgba(250, 247, 240, 0.88);
  box-shadow: 0 16px 40px rgba(18, 17, 15, 0.16);
}

html[data-theme="light"] .flight-globe-tooltip span,
html[data-theme="light"] .flight-globe-tooltip small {
  color: rgba(18, 17, 15, 0.58);
}

html[data-theme="light"] .flight-page .project-header {
  background: linear-gradient(
    180deg,
    rgba(246, 242, 234, 0.94) 0%,
    rgba(246, 242, 234, 0.76) 58%,
    rgba(246, 242, 234, 0.3) 82%,
    rgba(246, 242, 234, 0) 100%
  );
}

html[data-theme="light"] .flight-page .porthole-dark-asset {
  display: none !important;
}

html[data-theme="light"] .flight-page .porthole-light-asset {
  display: block !important;
  filter: drop-shadow(0 8px 15px rgba(31, 27, 22, 0.16));
}

html[data-theme="light"] .flight-page .flight-stats {
  border-color: rgba(25, 23, 19, 0.12);
  background: rgba(25, 23, 19, 0.1);
}

html[data-theme="light"] .flight-page .flight-stats div {
  background: rgba(255, 255, 255, 0.58);
}

html[data-theme="light"] .flight-page .flight-stats dt {
  color: rgba(25, 23, 19, 0.5);
}

html[data-theme="light"] .flight-page .flight-credit-strip {
  border-color: rgba(25, 23, 19, 0.08);
  color: rgba(25, 23, 19, 0.42);
}

html[data-theme="light"] .flight-page .flight-status {
  color: rgba(25, 23, 19, 0.62);
}

.cesium-viewer-bottom {
  left: clamp(14px, 3vw, 32px);
  right: clamp(14px, 3vw, 32px);
  bottom: clamp(10px, 2.5vw, 24px);
  font-size: 9px;
  opacity: 0.025;
  transition: opacity 240ms var(--ease-smooth);
}

.cesium-viewer-bottom:hover {
  opacity: 0.4;
}

.flight-credit-strip {
  min-height: 24px;
  padding: 8px clamp(18px, 5vw, 56px) 18px;
  border-top: 1px solid rgba(242, 238, 231, 0.035);
  color: rgba(242, 238, 231, 0.2);
  font-size: 9px;
  line-height: 1.35;
  opacity: 0.055;
  transition: opacity 220ms var(--ease-smooth);
}

.flight-credit-strip:hover,
.flight-credit-strip:focus-within {
  opacity: 0.48;
}

.flight-credit-strip a {
  color: inherit;
}

.flight-status {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  gap: 14px;
  margin: 0;
  transform: translate(-50%, -50%);
  color: rgba(242, 238, 231, 0.62);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  pointer-events: none;
  transition:
    opacity 650ms var(--ease-smooth),
    transform 650ms var(--ease-smooth);
}

.flight-status::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(242, 238, 231, 0.18);
  border-top-color: rgba(255, 246, 214, 0.76);
  box-shadow:
    inset 0 0 20px rgba(255, 255, 255, 0.035),
    0 0 26px rgba(125, 196, 168, 0.12);
  animation: flight-loader 1100ms linear infinite;
}

body[data-tiles-ready="true"] .flight-status {
  opacity: 0;
  transform: translate(-50%, -46%);
}

body[data-globe-status="fallback"] .flight-status {
  color: rgba(217, 205, 178, 0.7);
}

body[data-globe-status="unavailable"] .flight-status,
body[data-globe-status="tiles-error"] .flight-status,
body[data-globe-status="error"] .flight-status {
  width: min(72vw, 420px);
  text-align: center;
  color: rgba(255, 220, 170, 0.86);
  opacity: 1;
}

body[data-globe-status="unavailable"] .flight-status::before,
body[data-globe-status="tiles-error"] .flight-status::before,
body[data-globe-status="error"] .flight-status::before {
  display: none;
}

body.is-ready .flight-orb {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@keyframes flight-loader {
  to {
    transform: rotate(360deg);
  }
}

.flight-grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background:
    repeating-linear-gradient(0deg, transparent 0 31px, rgba(242, 238, 231, 0.16) 32px 33px),
    repeating-linear-gradient(90deg, transparent 0 31px, rgba(242, 238, 231, 0.16) 32px 33px);
}

.flight-land {
  position: absolute;
  background: rgba(242, 238, 231, 0.14);
}

.flight-land-a {
  width: 52%;
  height: 30%;
  left: 13%;
  top: 36%;
  border-radius: 52% 48% 42% 58%;
  transform: rotate(-18deg);
}

.flight-land-b {
  width: 26%;
  height: 43%;
  right: 16%;
  top: 24%;
  border-radius: 55% 38% 48% 42%;
  transform: rotate(20deg);
}

.route {
  position: absolute;
  border: 2px solid rgba(217, 102, 88, 0.74);
  border-bottom: 0;
  border-left-color: transparent;
  border-radius: 50% 50% 0 0;
}

.route-a {
  width: 62%;
  height: 30%;
  left: 20%;
  top: 35%;
  transform: rotate(11deg);
}

.route-b {
  width: 44%;
  height: 24%;
  left: 29%;
  top: 49%;
  transform: rotate(-24deg);
  border-color: rgba(125, 196, 168, 0.72);
  border-bottom: 0;
  border-left-color: transparent;
}

.route-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--project-text);
  box-shadow: 0 0 20px rgba(242, 238, 231, 0.7);
}

.route-dot-a {
  left: 25%;
  top: 50%;
}

.route-dot-b {
  right: 26%;
  top: 39%;
}

.route-dot-c {
  left: 47%;
  bottom: 29%;
}

.flight-copy {
  display: grid;
  align-content: center;
  max-width: 620px;
  min-height: 52svh;
  justify-self: start;
}

.flight-copy .project-kicker,
.flight-copy h1,
.flight-copy p:not(.project-kicker) {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 900ms var(--ease-smooth),
    transform 900ms var(--ease-smooth);
}

.flight-copy h1 {
  margin: 0 0 18px;
  font-family: var(--font-serif);
  font-size: clamp(58px, 7vw, 118px);
  line-height: 0.96;
}

.flight-copy p:not(.project-kicker) {
  color: var(--project-muted);
  font-size: clamp(18px, 2.2vw, 24px);
  line-height: 1.65;
}

.flight-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: clamp(28px, 4vw, 54px) 0 0;
  border: 1px solid rgba(242, 238, 231, 0.08);
  background: rgba(242, 238, 231, 0.08);
}

.flight-stats div {
  padding: 16px 14px 15px;
  background: rgba(7, 9, 8, 0.82);
}

.flight-stats dt {
  color: rgba(242, 238, 231, 0.46);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.flight-stats dd {
  margin: 8px 0 0;
  color: var(--project-text);
  font-size: clamp(20px, 2.2vw, 31px);
  font-weight: 800;
  letter-spacing: 0;
}

body.is-ready .flight-copy .project-kicker,
body.is-ready .flight-copy h1,
body.is-ready .flight-copy p:not(.project-kicker) {
  opacity: 1;
  transform: translateY(0);
}

body.is-ready .flight-copy h1 {
  transition-delay: 180ms;
}

body.is-ready .flight-copy p:not(.project-kicker) {
  transition-delay: 320ms;
}

.flight-log-heading p {
  margin: 12px 0 0;
  color: var(--project-muted);
  font-size: 13px;
  line-height: 1.6;
}

.flight-log-content {
  min-width: 0;
}

.flight-filter-bar {
  display: grid;
  grid-template-columns: auto repeat(3, minmax(120px, 1fr)) minmax(150px, 1.15fr) 34px;
  align-items: end;
  gap: 8px;
  margin-bottom: 14px;
}

.flight-year-filter {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 3px;
  border: 1px solid var(--project-line);
  background: rgba(255, 255, 255, 0.025);
}

.flight-year-filter button {
  height: 32px;
  padding: 0 13px;
  border: 0;
  color: var(--project-muted);
  background: transparent;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease;
}

.flight-year-filter button.is-active {
  color: var(--project-text);
  background: rgba(255, 255, 255, 0.09);
}

.flight-filter-select,
.flight-search {
  display: grid;
  gap: 5px;
}

.flight-filter-select > span {
  color: var(--project-muted);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.flight-filter-select select,
.flight-search input {
  width: 100%;
  height: 40px;
  min-width: 0;
  padding: 0 30px 0 11px;
  border: 1px solid var(--project-line);
  border-radius: 0;
  color: var(--project-text);
  background: var(--project-bg);
  font: inherit;
  font-size: 11px;
}

.flight-search input {
  padding-right: 11px;
}

.flight-filter-reset {
  display: grid;
  place-items: center;
  width: 34px;
  height: 40px;
  padding: 0;
  border: 1px solid var(--project-line);
  color: var(--project-muted);
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease;
}

.flight-filter-reset:hover {
  color: var(--project-text);
  border-color: var(--project-muted);
}

.flight-filter-summary {
  display: flex;
  align-items: baseline;
  gap: 4px;
  min-height: 28px;
  color: var(--project-muted);
  font-size: 10px;
}

.flight-filter-summary strong {
  color: var(--project-text);
  font-size: 15px;
}

.flight-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr));
  gap: 14px;
}

.flight-card {
  display: grid;
  grid-template-rows: auto auto auto 42px auto;
  min-height: 320px;
  min-width: 0;
  overflow: hidden;
  padding: 20px;
  border: 1px solid color-mix(in srgb, var(--project-line) 72%, transparent);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    rgba(255, 255, 255, 0.018);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  opacity: 0;
  transform: translateY(12px);
  animation: flight-card-in 620ms var(--ease-smooth) forwards;
  animation-delay: min(calc(var(--card-index) * 35ms), 420ms);
  outline: none;
  transition: border-color 240ms ease, background-color 240ms ease, transform 240ms ease;
}

.flight-card:hover,
.flight-card:focus-visible {
  border-color: color-mix(in srgb, var(--project-muted) 62%, transparent);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.078), rgba(255, 255, 255, 0.028)),
    rgba(255, 255, 255, 0.026);
  transform: translateY(-3px);
}

.flight-card-header,
.flight-airline,
.flight-route {
  display: flex;
  align-items: center;
}

.flight-card-header {
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  color: var(--project-muted);
  font-size: 11px;
  font-weight: 700;
}

.flight-number {
  min-width: 0;
  overflow: hidden;
  color: var(--project-text);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flight-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px minmax(0, 1fr);
  align-items: center;
  justify-items: center;
  gap: 10px;
  margin: 32px 0 28px;
  min-width: 0;
}

.flight-route > div {
  display: grid;
  justify-items: center;
  min-width: 0;
  width: 100%;
  text-align: center;
}

.flight-route > div:last-child {
  text-align: center;
}

.flight-route strong,
.flight-route time {
  display: block;
}

.flight-route strong {
  max-width: 100%;
  overflow: hidden;
  font-size: clamp(2.35rem, 1.65rem + 1.2vw, 3.55rem);
  line-height: 1;
  letter-spacing: 0;
  text-overflow: clip;
}

.flight-route time {
  margin-top: 8px;
  color: var(--project-muted);
  font-size: 12px;
}

.flight-route-plane {
  display: grid;
  place-items: center;
  align-self: start;
  width: 30px;
  height: clamp(2.35rem, 1.65rem + 1.2vw, 3.55rem);
  color: color-mix(in srgb, var(--hasselblad-orange) 54%, #7dc4a8);
  font-size: 17px;
  line-height: 1;
  transform: translateY(0.03em);
}

.flight-aircraft {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 16px;
}

.flight-aircraft div {
  min-width: 0;
}

.flight-aircraft dt {
  color: var(--project-muted);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.flight-aircraft dd {
  margin: 5px 0 0;
  overflow: hidden;
  color: var(--project-text);
  font-size: 11px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flight-hover-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.flight-card:hover .flight-hover-details,
.flight-card:focus-visible .flight-hover-details {
  opacity: 1;
  transform: translateY(0);
}

.flight-hover-details dt {
  color: var(--project-muted);
  font-size: 7px;
  font-weight: 800;
  text-transform: uppercase;
}

.flight-hover-details dd {
  margin: 4px 0 0;
  color: var(--project-text);
  font-size: 10px;
  font-weight: 700;
}

.flight-airline {
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
  padding-top: 14px;
  border-top: 1px solid var(--project-line);
  color: var(--project-muted);
  font-size: 11px;
}

.flight-locate-route {
  margin-left: auto;
  max-width: 100%;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid color-mix(in srgb, var(--project-muted) 32%, transparent);
  border-radius: 999px;
  color: color-mix(in srgb, var(--project-text) 84%, var(--project-muted));
  background: rgba(255, 255, 255, 0.045);
  font: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0;
  cursor: pointer;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.flight-locate-route:hover,
.flight-locate-route:focus-visible {
  color: var(--project-text);
  border-color: color-mix(in srgb, var(--hasselblad-orange) 68%, transparent);
  background: color-mix(in srgb, var(--hasselblad-orange) 16%, transparent);
  transform: translateY(-1px);
}

.airline-logo[data-logo-code="AMX"] {
  filter: invert(1) brightness(1.95) saturate(0.15) contrast(1.08);
  opacity: 0.92;
}

html[data-theme="light"] .airline-logo[data-logo-code="AMX"] {
  filter: none;
  opacity: 1;
}

.airline-logo {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: contain;
}

html[data-theme="light"] .flight-year-filter button.is-active {
  background: rgba(25, 23, 19, 0.08);
}

html[data-theme="light"] .flight-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.68), rgba(255, 255, 255, 0.36)),
    rgba(255, 255, 255, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.58);
}

html[data-theme="light"] .flight-locate-route {
  background: rgba(18, 17, 15, 0.035);
}

.flight-empty-state {
  margin: 0;
  padding: 64px 18px;
  border: 1px solid var(--project-line);
  color: var(--project-muted);
  text-align: center;
}

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

.writing-stage {
  position: relative;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 3vw, 42px);
  width: min(88vw, 920px);
  min-height: 34vh;
}

.writing-char {
  display: block;
  height: clamp(118px, 18vw, 260px);
  width: auto;
  opacity: 0;
  transform: scale(0.992);
  transition:
    opacity 3000ms var(--ease-ink),
    transform 3000ms var(--ease-ink);
}

body.is-ready .writing-char {
  opacity: 1;
  transform: scale(1);
}

.writing-char:nth-child(2) {
  transition-delay: 260ms;
}

.writing-char:nth-child(3) {
  transition-delay: 520ms;
}

.writing-char:nth-child(4) {
  transition-delay: 760ms;
}

.hero-video-cloud {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.floating-work {
  position: absolute;
  left: var(--x);
  top: var(--y);
  z-index: 1;
  display: grid;
  gap: 10px;
  width: clamp(190px, var(--w), 410px);
  margin: 0;
  opacity: 0;
  transform: translate3d(0, 18px, 0) scale(0.975);
  filter: brightness(0.82);
  pointer-events: none;
  will-change: opacity, transform, filter;
}

body.hero-videos-ready .floating-work {
  animation: hero-video-appear var(--duration, 19s) var(--ease-smooth) var(--delay, 0ms) infinite;
}

.floating-work img,
.floating-work video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
}

.hero-video-placeholder {
  position: relative;
  overflow: hidden;
  background: transparent;
  box-shadow:
    0 22px 64px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(242, 238, 231, 0.045);
}

.hero-video-placeholder video {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  border: 0;
  filter: brightness(1.22) contrast(1.08) saturate(1.04);
}

.floating-work figcaption {
  color: var(--project-muted);
  font-size: 12px;
}

@keyframes hero-video-appear {
  0%,
  4% {
    opacity: 0;
    transform: translate3d(0, 18px, 0) scale(0.975);
    filter: brightness(0.78);
  }

  7%,
  22% {
    opacity: 0.82;
    transform: translate3d(0, 0, 0) scale(1);
    filter: brightness(0.94);
  }

  29%,
  100% {
    opacity: 0;
    transform: translate3d(0, -10px, 0) scale(1.01);
    filter: brightness(0.82);
  }
}

.hero-caption {
  position: absolute;
  left: clamp(18px, 5vw, 56px);
  bottom: 34px;
  z-index: 8;
  max-width: 520px;
  color: var(--project-muted);
}

.project-kicker,
.hero-caption h1,
.hero-caption > p:not(.project-kicker) {
  opacity: 0;
  transform: translateY(10px);
}

.hero-caption h1 {
  transition:
    opacity 1100ms var(--ease-smooth) 3350ms,
    transform 1100ms var(--ease-smooth) 3350ms;
}

.project-kicker,
.hero-caption > p:not(.project-kicker) {
  transition:
    opacity 1100ms var(--ease-smooth) 3350ms,
    transform 1100ms var(--ease-smooth) 3350ms;
}

body.is-ready .project-kicker,
body.is-ready .hero-caption h1,
body.is-ready .hero-caption > p:not(.project-kicker) {
  opacity: 1;
  transform: translateY(0);
}

.project-kicker {
  margin: 0 0 12px;
  color: var(--hasselblad-orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero-caption h1 {
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: clamp(30px, 5vw, 62px);
  line-height: 1.06;
  color: var(--project-text);
}

.hero-caption p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.project-section {
  display: grid;
  grid-template-columns: minmax(160px, 260px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  padding: 86px clamp(18px, 5vw, 56px);
  border-top: 1px solid var(--project-line);
  scroll-margin-top: 96px;
}

.section-label {
  color: var(--hasselblad-orange);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.statement-copy {
  max-width: 860px;
}

.exhibition-record {
  position: sticky;
  top: 116px;
  align-self: start;
}

.exhibition-record dl {
  display: grid;
  gap: 28px;
  margin: 38px 0 0;
}

.exhibition-record dl div {
  padding-top: 10px;
  border-top: 1px solid var(--project-line);
}

.exhibition-record dt {
  margin-bottom: 6px;
  color: var(--project-muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.exhibition-record dd {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.55;
}

.statement-copy p {
  margin: 0 0 clamp(22px, 2.6vw, 34px);
  font-family: var(--font-serif);
  font-size: clamp(21px, 2vw, 30px);
  line-height: 1.84;
  letter-spacing: 0.035em;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 900ms var(--ease-smooth),
    transform 1000ms var(--ease-smooth);
}

html[lang="en"] .statement-copy p {
  font-size: clamp(23px, 2.2vw, 34px);
  line-height: 1.48;
  letter-spacing: 0;
}

.statement-copy .statement-lead {
  color: var(--project-text);
}

body.is-ready .statement-copy p,
body.is-ready .exhibition-record dl div {
  opacity: 1;
  transform: translateY(0);
}

.statement-copy p:nth-child(2) {
  transition-delay: 90ms;
}

.statement-copy p:nth-child(3) {
  transition-delay: 180ms;
}

.statement-copy p:nth-child(4) {
  transition-delay: 270ms;
}

.statement-copy p:nth-child(5) {
  transition-delay: 360ms;
}

.statement-copy p:nth-child(6) {
  transition-delay: 450ms;
}

.exhibition-record dl div {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 800ms var(--ease-smooth),
    transform 900ms var(--ease-smooth);
}

.exhibition-record dl div:nth-child(2) {
  transition-delay: 80ms;
}

.exhibition-record dl div:nth-child(3) {
  transition-delay: 160ms;
}

.statement-copy .statement-note {
  max-width: 760px;
  margin-top: 54px;
  color: var(--project-muted);
  font-family: var(--font-sans);
  font-size: clamp(15px, 1.4vw, 19px);
  line-height: 1.9;
}

.gallery-flow {
  display: grid;
  gap: 88px;
}

.gallery-flow figure {
  margin: 0;
}

.gallery-flow img {
  display: block;
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  background: #11100e;
}

.gallery-flow figure:nth-child(even) {
  width: min(72vw, 760px);
  margin-left: auto;
}

.gallery-flow figcaption {
  margin-top: 14px;
  color: var(--hasselblad-orange);
  font-size: 13px;
}

#works {
  display: block;
  padding-top: 110px;
  overflow: visible;
}

.works-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(90px, 13vw, 190px);
}

.works-heading p {
  margin: 0;
  color: var(--project-muted);
  font-family: var(--font-serif);
  font-size: clamp(17px, 2vw, 26px);
}

.scroll-gallery {
  margin-inline: calc(clamp(18px, 5vw, 56px) * -1);
}

.scroll-work {
  position: relative;
  height: 184vh;
  min-height: 1100px;
  margin: 0;
}

.scroll-work-inner {
  position: sticky;
  top: 0;
  width: min(88vw, 1380px);
  height: 100vh;
  margin-inline: auto;
  padding: 96px 0 34px;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: layout paint;
}

.scroll-work-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  opacity: var(--work-opacity, 0);
  transform: translate3d(0, var(--entry-y, 12vh), 0);
  will-change: opacity, transform;
}

.scroll-work-content img {
  width: 100%;
  max-height: calc(100vh - 175px);
  flex: 0 1 auto;
  object-fit: contain;
}

.scroll-work-content figcaption {
  flex: 0 0 auto;
  width: 100%;
  margin-top: 5px;
  padding-top: 5px;
}

.chapter-marker {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: start;
  gap: 22px;
  width: min(100%, 640px);
  padding-top: 18px;
  border-top: 1px solid var(--project-line);
}

.chapter-marker > span,
.threshold-copy > span {
  color: var(--hasselblad-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chapter-marker strong {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 600;
  letter-spacing: 0.2em;
}

.chapter-marker p {
  margin: 10px 0 0;
  color: var(--project-muted);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chapter-open {
  margin-left: auto;
}

.exhibition-work {
  margin: 0;
}

.exhibition-work img {
  display: block;
  width: 100%;
  height: auto;
  background: #0d0d0c;
  cursor: zoom-in;
  -webkit-touch-callout: none;
  -webkit-user-drag: none;
  user-select: none;
  transition: filter 700ms var(--ease-smooth), transform 900ms var(--ease-smooth);
}

.exhibition-work:hover img {
  filter: brightness(1.045) contrast(1.015);
  transform: scale(1.006);
}

.exhibition-work img:focus-visible {
  outline: 1px solid var(--hasselblad-orange);
  outline-offset: 8px;
}

.exhibition-work figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid var(--project-line);
  color: var(--project-muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.standard-works {
  padding: clamp(96px, 12vw, 180px) 0 clamp(120px, 15vw, 220px);
}

.standard-works-heading {
  display: block;
  margin-bottom: clamp(56px, 7vw, 96px);
  padding-top: 12px;
  border-top: 1px solid var(--project-line);
  color: var(--project-muted);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.standard-works-heading p {
  margin: 0;
}

.standard-works-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: start;
  gap: clamp(48px, 6vw, 86px) clamp(22px, 2.6vw, 42px);
  width: min(100%, 1240px);
  margin-inline: auto;
}

.standard-work {
  width: 100%;
}

.standard-work:nth-child(1) {
  grid-column: 1 / span 4;
}

.standard-work:nth-child(2) {
  grid-column: 6 / span 7;
  margin-top: clamp(42px, 5vw, 76px);
}

.standard-work:nth-child(3) {
  grid-column: 1 / span 7;
}

.standard-work:nth-child(4) {
  grid-column: 9 / span 3;
  margin-top: clamp(42px, 5vw, 74px);
}

.standard-work:nth-child(5) {
  grid-column: 2 / span 4;
}

.standard-work:nth-child(6) {
  grid-column: 7 / span 5;
  margin-top: clamp(18px, 2vw, 34px);
}

.standard-work:nth-child(7) {
  grid-column: 1 / span 4;
}

.standard-work:nth-child(8) {
  grid-column: 6 / span 7;
  margin-top: clamp(44px, 5vw, 78px);
}

.standard-work-narrow {
  max-width: 390px;
}

.standard-work-wide {
  max-width: 720px;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translate3d(0, 36px, 0);
  filter: blur(10px) brightness(0.78);
  transition:
    opacity 900ms var(--ease-smooth) var(--reveal-delay, 0ms),
    transform 1000ms var(--ease-smooth) var(--reveal-delay, 0ms),
    filter 1100ms var(--ease-smooth) var(--reveal-delay, 0ms);
  will-change: opacity, transform, filter;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  filter: blur(0) brightness(1);
}

.archive-gallery {
  padding-top: clamp(90px, 12vw, 170px);
  border-top: 1px solid var(--project-line);
}

.archive-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: clamp(55px, 8vw, 100px);
}

.archive-heading h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 500;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(38px, 4.2vw, 72px) clamp(18px, 1.8vw, 32px);
  width: min(100%, 1920px);
  margin-inline: auto;
}

.archive-grid figure {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: end;
  min-width: 0;
  margin: 0;
  background: transparent;
  aspect-ratio: 1 / 1.18;
}

.archive-grid img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  background: transparent;
  cursor: zoom-in;
}

.archive-grid figcaption {
  margin-top: 7px;
  padding-top: 7px;
  border-top: 1px solid var(--project-line);
  color: var(--project-muted);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.exhibition-work figcaption span:first-child {
  color: var(--project-text);
}

.gallery-end {
  display: grid;
  justify-items: center;
  gap: 18px;
  max-width: 720px;
  margin: clamp(120px, 12vw, 190px) auto 10vh;
  text-align: center;
}

.gallery-end span {
  color: var(--hasselblad-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.gallery-signature {
  display: block;
  width: min(58vw, 360px);
  height: auto;
  opacity: 0.9;
  filter: invert(1) brightness(1.38) contrast(1.12);
  transform: translateX(2%);
}

.gallery-end span,
.gallery-signature,
.gallery-end-copy {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 900ms var(--ease-smooth),
    transform 1100ms var(--ease-smooth),
    filter 1100ms var(--ease-smooth);
}

.gallery-signature {
  filter: invert(1) brightness(1.38) contrast(1.12) blur(8px);
  transform: translate3d(2%, 24px, 0) scale(0.985);
  transition-delay: 160ms;
}

.gallery-end-copy {
  transition-delay: 320ms;
}

.gallery-end.is-visible span,
.gallery-end.is-visible .gallery-end-copy {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.gallery-end.is-visible .gallery-signature {
  opacity: 0.9;
  filter: invert(1) brightness(1.38) contrast(1.12) blur(0);
  transform: translate3d(2%, 0, 0) scale(1);
}

.gallery-end-copy {
  max-width: 520px;
  margin: 2px auto 0;
  color: rgba(242, 238, 231, 0.66);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.85;
  letter-spacing: 0.08em;
}

.gallery-end-copy span {
  display: block;
}

html[lang="en"] .gallery-end-copy {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 0.04em;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  padding: 72px clamp(18px, 4vw, 60px) 30px;
  background: rgba(3, 3, 3, 0.96);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 320ms ease, visibility 320ms ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-stage {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  justify-items: center;
  gap: 18px;
  min-width: 0;
  height: 100%;
  overflow: hidden;
}

.lightbox-image {
  --zoom-x: 0px;
  --zoom-y: 0px;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100vh - 145px);
  align-self: center;
  object-fit: contain;
  opacity: 0;
  transform: translate3d(var(--zoom-x), var(--zoom-y), 0) scale(0.985);
  cursor: zoom-in;
  touch-action: none;
  user-select: none;
  transition: opacity 420ms var(--ease-smooth), transform 520ms var(--ease-smooth);
}

.lightbox-image.is-loaded {
  opacity: 1;
  transform: translate3d(var(--zoom-x), var(--zoom-y), 0) scale(1);
}

.lightbox.is-zoomed .lightbox-image.is-loaded {
  cursor: grab;
  transform: translate3d(var(--zoom-x), var(--zoom-y), 0) scale(1.95);
}

.lightbox.is-dragging .lightbox-image.is-loaded {
  cursor: grabbing;
  transition: opacity 420ms var(--ease-smooth);
}

.lightbox-meta {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid #292724;
  color: var(--project-muted);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.lightbox-close {
  border: 0;
  color: var(--project-text);
  background: transparent;
  cursor: pointer;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: clamp(18px, 4vw, 60px);
  padding: 8px 0;
  color: var(--project-muted);
  font: inherit;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lightbox-close:hover {
  color: var(--hasselblad-orange);
}

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

@media (max-width: 1100px) {
  .flight-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 106px clamp(14px, 4vw, 28px) 54px;
  }

  .flight-orb {
    width: 100%;
    height: min(58svh, 620px);
    min-height: 390px;
    justify-self: center;
    margin-left: 0;
  }

  .flight-copy {
    min-height: auto;
    max-width: none;
  }

  .flight-filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flight-year-filter {
    grid-column: 1 / -1;
    justify-self: start;
  }

  .flight-card-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }

  .project-header {
    position: fixed;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: start;
    gap: clamp(10px, 3vw, 18px);
    padding: 14px clamp(14px, 4vw, 28px) 30px;
    font-size: clamp(11px, 2.7vw, 14px);
    --project-header-text-offset: 16px;
  }

  .project-header > div {
    display: contents;
  }

  .mini-logo {
    width: clamp(92px, 18vw, 132px);
    justify-self: center;
    margin: 0;
  }

  .porthole-logo {
    width: 42px;
    height: auto;
  }

  .project-header nav {
    justify-self: end;
    gap: clamp(12px, 3vw, 22px);
  }

  .back-link {
    justify-self: start;
    white-space: nowrap;
  }

  .cinematic-hero {
    min-height: 100svh;
    display: grid;
    overflow: visible;
    padding-top: clamp(118px, 18svh, 164px);
    padding-bottom: 36px;
    align-content: center;
  }

  .writing-stage {
    grid-area: title;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, auto));
    justify-content: center;
    align-items: center;
    width: min(86vw, 520px);
    min-height: auto;
    margin: 0 auto 0;
    row-gap: clamp(34px, 7vw, 68px);
    column-gap: clamp(16px, 6vw, 46px);
  }

  .writing-char:nth-child(1) {
    grid-column: 1 / span 2;
    grid-row: 1;
    justify-self: end;
  }

  .writing-char:nth-child(2) {
    grid-column: 3 / span 2;
    grid-row: 1;
    justify-self: start;
    transform-origin: 45% 55%;
  }

  .writing-char:nth-child(3) {
    grid-column: 3 / span 1;
    grid-row: 2;
    justify-self: end;
    margin-top: -8px;
    margin-right: clamp(10px, 3vw, 28px);
  }

  .writing-char:nth-child(4) {
    grid-column: 4 / span 2;
    grid-row: 2;
    justify-self: start;
    margin-top: -4px;
    margin-left: clamp(-6px, -0.6vw, -2px);
  }

  .writing-char {
    height: clamp(118px, 26vw, 190px);
  }

  .floating-work {
    position: static;
    width: auto;
    transform: translateY(24px);
  }

  .cinematic-hero {
    grid-template-columns: none;
  }

  .cinematic-hero .floating-work {
    display: none;
  }

  .cinematic-hero .hero-video-cloud .floating-work {
    position: absolute;
    display: grid;
    width: clamp(180px, var(--w), 380px);
    transform: translate3d(0, 18px, 0) scale(0.975);
  }

  .work-a {
    transition-delay: 3200ms;
  }

  .work-b {
    transition-delay: 3400ms;
  }

  .work-c {
    transition-delay: 3600ms;
  }

  .work-d {
    transition-delay: 3800ms;
  }

  .floating-work img {
    aspect-ratio: 4 / 5;
  }

  .hero-caption {
    grid-area: caption;
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 0;
    justify-self: center;
    text-align: center;
  }

  .hero-caption > p:not(.project-kicker) {
    display: none;
  }

  .project-section {
    grid-template-columns: 1fr;
  }

  .exhibition-record {
    position: static;
  }

  .exhibition-record dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 28px;
  }

  .gallery-flow figure:nth-child(even) {
    width: 100%;
  }

  .works-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .work-a {
    grid-area: worka;
  }

  .work-b {
    grid-area: workb;
  }

  .work-c {
    grid-area: workc;
  }

  .work-d {
    grid-area: workd;
  }
}

@media (max-width: 620px) {
  .flight-loader-model {
    left: 14px;
    bottom: 52px;
    font-size: clamp(42px, 18vw, 82px);
  }

  .flight-loader-ascii-wrap {
    inset: 18px 10px 142px;
    justify-content: start;
  }

  .flight-loader-ascii {
    font-size: clamp(2.2px, 0.95vw, 4.2px);
    transform: translateX(-10px);
  }

  .flight-loader-bottom {
    gap: 10px;
    padding-inline: 14px;
  }

  .flight-loader-screen p,
  #flight-loader-percent {
    font-size: 11px;
  }

  .exhibition-record dl {
    gap: 18px 24px;
  }

  .statement-copy p {
    font-size: 21px;
    line-height: 1.78;
  }

  html[lang="en"] .statement-copy p {
    font-size: 25px;
    line-height: 1.42;
  }

  .lightbox {
    grid-template-columns: 1fr;
    padding: 62px 16px 20px;
  }

  .lightbox-stage {
    height: calc(100vh - 82px);
  }

  .lightbox-image {
    max-height: calc(100vh - 145px);
  }

  .lightbox-meta {
    padding-inline: 0;
  }

  .lightbox-caption {
    max-width: 62%;
  }

  #works {
    padding-top: 78px;
  }

  .works-heading {
    margin-bottom: 84px;
  }

  .scroll-work {
    height: 205vh;
    min-height: 1160px;
  }

  .scroll-work-inner {
    width: calc(100vw - 36px);
    padding-top: 82px;
    padding-bottom: 24px;
  }

  .scroll-work-content img {
    max-height: calc(100vh - 160px);
  }

  .exhibition-work figcaption {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .standard-works-grid {
    grid-template-columns: 1fr;
    gap: 58px;
    width: 100%;
  }

  .standard-work,
  .standard-work-narrow,
  .standard-work-wide {
    grid-column: 1;
    width: 100%;
    max-width: none;
    margin: 0 auto;
  }

  .standard-work:nth-child(n) {
    grid-column: 1;
    margin-top: 0;
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 42px 14px;
  }

  .flight-filter-bar { grid-template-columns: 1fr 1fr; }
  .flight-year-filter,
  .flight-search { grid-column: 1 / -1; }
  .flight-filter-select select,
  .flight-search input { font-size: 16px; }
  .flight-card-grid { grid-template-columns: 1fr; }
  .flight-card { min-height: 310px; }
  .flight-route {
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr);
    gap: 8px;
  }
  .flight-route strong { font-size: clamp(2.2rem, 12vw, 2.9rem); }
  .flight-route-plane {
    width: 28px;
    height: clamp(2.2rem, 12vw, 2.9rem);
  }
}

@media (max-width: 1100px) and (min-width: 621px) {
  .standard-works-grid {
    grid-template-columns: repeat(10, minmax(0, 1fr));
    gap: clamp(54px, 7vw, 88px) clamp(18px, 3vw, 34px);
    width: min(100%, 920px);
  }

  .standard-work:nth-child(1) {
    grid-column: 1 / span 4;
  }

  .standard-work:nth-child(2) {
    grid-column: 5 / span 6;
    margin-top: 42px;
  }

  .standard-work:nth-child(3) {
    grid-column: 1 / span 7;
  }

  .standard-work:nth-child(4) {
    grid-column: 8 / span 3;
    margin-top: 38px;
  }

  .standard-work:nth-child(5) {
    grid-column: 1 / span 4;
  }

  .standard-work:nth-child(6) {
    grid-column: 6 / span 5;
    margin-top: 20px;
  }

  .standard-work:nth-child(7) {
    grid-column: 1 / span 4;
  }

  .standard-work:nth-child(8) {
    grid-column: 5 / span 6;
    margin-top: 42px;
  }

  .cinematic-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .cinematic-hero::after {
    content: "";
    display: block;
  }

  .floating-work {
    width: auto;
  }

  .work-a,
  .work-b,
  .work-c,
  .work-d {
    position: static;
  }

  .cinematic-hero {
    gap: 0;
  }

  .writing-stage {
    grid-row: 1;
  }

  .floating-work {
    align-self: start;
  }

  .work-a,
  .work-b,
  .work-c,
  .work-d {
    justify-self: stretch;
  }

  .cinematic-hero {
    grid-template-areas:
      "title title"
      "caption caption";
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px clamp(22px, 5vw, 56px);
  }

  .cinematic-hero .floating-work {
    display: none;
  }

  .cinematic-hero .hero-video-cloud .floating-work {
    position: absolute;
    display: grid;
    width: clamp(180px, var(--w), 380px);
  }

}

@media (max-width: 620px) {
  .cinematic-hero {
    display: grid;
    gap: 34px;
    grid-template-areas:
      "title"
      "caption";
  }

  .cinematic-hero .floating-work {
    display: none;
  }
}

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

  body.hero-videos-ready .floating-work {
    opacity: 0.72;
    transform: none;
    filter: brightness(0.92);
  }

  .statement-copy p,
  .exhibition-record dl div {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .gallery-end span,
  .gallery-signature,
  .gallery-end-copy {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}
