:root {
  color-scheme: light;
  --bg: #f3f8fb;
  --surface: rgba(255, 255, 255, 0.86);
  --surface-soft: #edf5fa;
  --text: #172635;
  --muted: #6c7f8f;
  --muted-strong: #4f6576;
  --blue: #759bb8;
  --sage: #8cacc3;
  --line: rgba(67, 103, 130, 0.13);
  --page: min(1180px, calc(100vw - 48px));
  --there-entry-duration: 650ms;
  --there-entry-ease: cubic-bezier(0.16, 1, 0.3, 1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Helvetica Neue", sans-serif;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% -10%, rgba(143, 181, 207, 0.24), transparent 31rem),
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.94), transparent 28rem),
    var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #668eab;
  color: white;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: var(--page);
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 620;
  letter-spacing: -0.01em;
}

.wordmark-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 18px rgba(158, 178, 199, 0.65);
}

.header-note,
.eyebrow,
.section-index,
.project-meta,
.signal-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  width: var(--page);
  min-height: min(900px, 100svh);
  margin: 0 auto;
  padding: 190px 0 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -2;
  right: -19%;
  top: 16%;
  width: min(58vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(158, 178, 199, 0.1);
  border-radius: 50%;
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgba(158, 178, 199, 0.09);
  border-radius: 50%;
  pointer-events: none;
  will-change: transform;
}

.orbit-a {
  right: -5%;
  top: 29%;
  width: min(35vw, 420px);
  aspect-ratio: 1;
  animation: orbit-spin 28s linear infinite;
}

.orbit-b {
  right: 11%;
  top: 43%;
  width: 10px;
  height: 10px;
  border: 0;
  background: var(--blue);
  box-shadow: 0 0 34px rgba(158, 178, 199, 0.7);
  animation: orbit-drift 14s ease-in-out infinite;
}

.orbit-c {
  right: 28%;
  top: 58%;
  width: 180px;
  aspect-ratio: 1;
  opacity: 0.8;
  transform: rotate(38deg);
  animation: orbit-float 18s ease-in-out infinite;
}

.orbit-d {
  right: 1%;
  top: 18%;
  width: 14px;
  height: 14px;
  border: 0;
  border-radius: 999px;
  background: rgba(110, 148, 185, 0.85);
  box-shadow: 0 0 0 6px rgba(110, 148, 185, 0.12);
  animation: orbit-pulse 6s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 28px;
  color: var(--blue);
}

.hero h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(54px, 7.6vw, 108px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  font-weight: 640;
}

.hero h1 span {
  color: #718da2;
}

.hero-copy {
  max-width: 590px;
  margin: 38px 0 0;
  color: var(--muted-strong);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
  letter-spacing: -0.018em;
}

.scroll-cue {
  width: fit-content;
  margin-top: 64px;
  display: inline-flex;
  align-items: center;
  gap: 15px;
  color: var(--muted);
  font-size: 13px;
}

.scroll-line {
  position: relative;
  width: 52px;
  height: 1px;
  overflow: hidden;
  background: rgba(77, 111, 137, 0.16);
}

.scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateX(-100%);
  animation: scan-line 2.6s ease-in-out infinite;
}

.projects {
  width: var(--page);
  margin: 0 auto;
  padding: 70px 0 150px;
}

.section-heading {
  margin-bottom: 42px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.section-heading p,
.section-heading h2 {
  margin: 0;
}

.section-heading h2 {
  color: var(--muted-strong);
  font-size: 15px;
  font-weight: 520;
  letter-spacing: -0.01em;
}

.project {
  --mx: 50%;
  --my: 50%;
  --rx: 0deg;
  --ry: 0deg;
  --lift-y: 0px;
  --shift-x: 0px;
  --shift-y: 0px;
  position: relative;
  min-height: 690px;
  margin-bottom: 26px;
  display: grid;
  grid-template-columns: minmax(0, 1.34fr) minmax(330px, 0.66fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 36px;
  background: var(--surface);
  box-shadow: 0 34px 80px rgba(55, 87, 111, 0.12);
  transform: perspective(1100px) translate3d(0, var(--lift-y), 0)
    rotateX(var(--rx)) rotateY(var(--ry));
  transition:
    transform 540ms cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 480ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.project::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    500px circle at var(--mx) var(--my),
    rgba(255, 255, 255, 0.06),
    transparent 48%
  );
  opacity: 0;
  transition: opacity 360ms ease;
}

.project-media {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.project-there .project-media {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 66% 48%, rgba(157, 199, 226, 0.2), transparent 34%),
    linear-gradient(180deg, #f8fbfd 0%, #eaf3f8 100%);
}

.map-stage {
  position: relative;
  width: 100%;
  aspect-ratio: 850 / 718;
  overflow: hidden;
  isolation: isolate;
  transform-origin: center;
  transform: translate3d(var(--shift-x), var(--shift-y), 0);
  transition: transform 680ms cubic-bezier(0.16, 1, 0.3, 1), filter 520ms ease;
  will-change: transform;
}

.globe-scene,
.globe-visual {
  position: absolute;
  inset: 0;
}

.globe-coordinate-layer {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  aspect-ratio: 1586 / 992;
  transform: translate3d(-50%, -50%, 0);
  transform-origin: center;
}

.globe-scene {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: 50% 52%;
  transition:
    opacity 980ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.has-js .project-there[data-reveal] .globe-scene {
  opacity: 0.28;
  transform: translate3d(0, 24px, 0) scale(1.075);
}

.has-js .project-there[data-reveal].is-visible .globe-scene {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  transition-delay: calc(var(--reveal-delay, 0ms) + 80ms);
}

.globe-visual {
  transform: translate3d(0, 0, 0) scale(1.012);
  transform-origin: 50% 52%;
  animation: globe-cinematic-float 10.8s cubic-bezier(0.45, 0, 0.55, 1) infinite;
  animation-play-state: paused;
  will-change: transform;
}

.project-there .project-media::after {
  content: "";
  position: absolute;
  z-index: 4;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(235, 245, 250, 0.12)),
    radial-gradient(circle at 68% 48%, transparent 40%, rgba(241, 248, 252, 0.22) 100%);
  pointer-events: none;
}

.project-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 72% center;
  filter: saturate(0.42) contrast(0.92) brightness(1.04);
  transform: scale(1.03);
  transition:
    transform 680ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 520ms ease;
  will-change: transform, filter;
}

.project-there .globe-map-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) brightness(1.015) contrast(0.98);
  transform: none;
  transition: filter 520ms ease;
  will-change: filter;
}

.globe-atmosphere,
.globe-sheen {
  position: absolute;
  z-index: 2;
  pointer-events: none;
}

.globe-atmosphere {
  top: 49.9%;
  left: 50.2%;
  width: 58.9%;
  aspect-ratio: 1;
  border: 1px solid rgba(188, 224, 245, 0.56);
  border-radius: 50%;
  box-shadow:
    inset 0 0 34px rgba(255, 255, 255, 0.28),
    0 0 44px rgba(132, 185, 218, 0.22);
  opacity: 0.56;
  transform: translate3d(-50%, -50%, 0) scale(0.985);
  animation: atmosphere-breathe 6.4s ease-in-out infinite;
  animation-play-state: paused;
  will-change: transform, opacity;
}

.globe-sheen {
  z-index: 3;
  top: 49.9%;
  left: 50.2%;
  width: 58.9%;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  opacity: 0.8;
  transform: translate3d(-50%, -50%, 0);
  -webkit-mask-image: radial-gradient(circle, #000 0 67%, transparent 72%);
  mask-image: radial-gradient(circle, #000 0 67%, transparent 72%);
}

.globe-sheen::before {
  content: "";
  position: absolute;
  inset: -28% -62%;
  background: linear-gradient(
    106deg,
    transparent 38%,
    rgba(255, 255, 255, 0.04) 43%,
    rgba(255, 255, 255, 0.66) 49%,
    rgba(174, 216, 241, 0.23) 53%,
    transparent 60%
  );
  opacity: 0;
  transform: translate3d(-48%, 0, 0);
  animation: globe-sheen-pass 7.6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  animation-play-state: paused;
  will-change: transform, opacity;
}

.globe-memory-layer {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: none;
}

.globe-place {
  position: absolute;
  top: var(--place-y);
  left: var(--place-x);
  width: 0;
  height: 0;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(0.72);
  transform-origin: center;
  transition:
    opacity 520ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 620ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: calc(var(--reveal-delay, 0ms) + var(--place-delay, 0ms));
  will-change: transform, opacity;
}

.project-there.is-visible .globe-place {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
}

.globe-place-dot {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 8px;
  border: 2px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: #719cbc;
  box-shadow:
    0 0 0 4px rgba(113, 156, 188, 0.14),
    0 4px 12px rgba(53, 95, 125, 0.22);
  transform: translate3d(-50%, -50%, 0);
}

.globe-place-dot::after {
  content: "";
  position: absolute;
  inset: -5px;
  border: 1px solid rgba(104, 153, 188, 0.3);
  border-radius: inherit;
  opacity: 0;
  animation: globe-place-pulse 5.2s ease-out infinite;
  animation-delay: var(--place-delay, 0ms);
  animation-play-state: paused;
}

.project-there.is-motion-active .globe-place-dot::after {
  animation-play-state: running;
}

.globe-memory-photo {
  position: absolute;
  z-index: 1;
  width: clamp(54px, 6vw, 72px);
  aspect-ratio: 1;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.96);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 16px 34px rgba(54, 89, 114, 0.2),
    0 0 0 1px rgba(76, 117, 148, 0.08);
  transition:
    box-shadow 420ms ease,
    filter 420ms ease;
}

.globe-place-photo::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -0.5px;
  left: 0;
  width: clamp(24px, 2.5vw, 30px);
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(92, 137, 171, 0.72), rgba(92, 137, 171, 0.24));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.16);
  transform-origin: left center;
}

.photo-nw::before {
  transform: rotate(-135deg);
}

.photo-ne::before {
  transform: rotate(-45deg);
}

.photo-sw::before {
  transform: rotate(135deg);
}

.photo-se::before {
  transform: rotate(45deg);
}

.photo-nw .globe-memory-photo {
  right: 10px;
  bottom: 10px;
}

.photo-ne .globe-memory-photo {
  left: 10px;
  bottom: 10px;
}

.photo-sw .globe-memory-photo {
  right: 10px;
  top: 10px;
}

.photo-se .globe-memory-photo {
  left: 10px;
  top: 10px;
}

.globe-memory-photo img,
.project-there .globe-memory-photo img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.72) contrast(0.96) brightness(1.02);
  transform: none;
  transition: filter 420ms ease;
}

.globe-memory-photo picture {
  display: block;
  width: 100%;
  height: 100%;
}

.project-there:hover .globe-memory-photo {
  box-shadow:
    0 20px 42px rgba(54, 89, 114, 0.24),
    0 0 0 1px rgba(76, 117, 148, 0.1);
}

.project-there:hover .globe-memory-photo img {
  filter: saturate(0.82) contrast(0.98) brightness(1.025);
}

.project-there.is-motion-active .globe-visual,
.project-there.is-motion-active .globe-atmosphere,
.project-there.is-motion-active .globe-sheen::before {
  animation-play-state: running;
}

.project-there .project-media::before {
  content: "";
  position: absolute;
  z-index: 5;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    260px circle at var(--mx) var(--my),
    rgba(255, 255, 255, 0.16),
    transparent 50%
  );
  opacity: 0;
  transition: opacity 420ms cubic-bezier(0.16, 1, 0.3, 1);
  mix-blend-mode: soft-light;
}

.project-there:hover .project-media::before,
.project-there:focus-visible .project-media::before {
  opacity: 0.95;
}

.project-content {
  position: relative;
  z-index: 3;
  padding: 38px 36px 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid var(--line);
  background: rgba(248, 252, 254, 0.88);
  backdrop-filter: blur(20px);
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.project-meta span:last-child {
  text-align: right;
}

.project-title-row {
  position: relative;
  margin-top: auto;
  display: block;
}

.project-title-row > div {
  min-width: 0;
}

.project h3 {
  margin: 0 0 12px;
  padding-right: 72px;
  font-size: clamp(44px, 5.2vw, 76px);
  line-height: 0.95;
  font-weight: 620;
  letter-spacing: -0.065em;
}

.project-title-row p {
  margin: 0;
  color: var(--muted-strong);
  font-size: 17px;
  line-height: 1.45;
  text-wrap: balance;
}

.project-arrow {
  position: absolute;
  top: 0;
  right: 0;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(77, 111, 137, 0.18);
  border-radius: 50%;
  color: var(--text);
  font-size: 22px;
  transition:
    background 220ms cubic-bezier(0.16, 1, 0.3, 1),
    color 220ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.project-description {
  margin: 30px 0 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.project-inspiration {
  grid-template-columns: minmax(330px, 0.66fr) minmax(0, 1.34fr);
}

.project-inspiration .project-media {
  grid-column: 2;
  grid-row: 1;
}

.project-inspiration .project-content {
  grid-column: 1;
  grid-row: 1;
  border-right: 1px solid var(--line);
  border-left: 0;
  background: rgba(248, 252, 254, 0.9);
}

.inspiration-canvas {
  background: #e8f2f8;
}

.transit-grid {
  position: absolute;
  inset: -30%;
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(92, 130, 157, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(92, 130, 157, 0.1) 1px, transparent 1px);
  background-size: 72px 72px;
  transform: rotate(-8deg);
}

.transit-route {
  position: absolute;
  top: 18%;
  left: 17%;
  width: 65%;
  height: 58%;
  border-right: 1px solid rgba(183, 195, 154, 0.72);
  border-bottom: 1px solid rgba(183, 195, 154, 0.72);
  border-radius: 0 0 60px 0;
  box-shadow: 14px 14px 50px rgba(183, 195, 154, 0.07);
  animation: route-pulse 3.8s ease-in-out infinite;
}

.route-stop {
  position: absolute;
  width: 12px;
  height: 12px;
  border: 2px solid var(--sage);
  border-radius: 50%;
  background: #eef6fa;
  box-shadow: 0 0 0 8px rgba(183, 195, 154, 0.08);
  animation: stop-trail 2.4s ease-in-out infinite;
  will-change: transform;
}

.stop-one {
  top: -6px;
  right: -6px;
}

.stop-two {
  animation-delay: 0.2s;
  right: -6px;
  bottom: 38%;
}

.stop-three {
  animation-delay: 0.5s;
  right: 21%;
  bottom: -6px;
}

.capture-note {
  position: absolute;
  z-index: 2;
  border: 1px solid rgba(78, 115, 142, 0.14);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 70px rgba(55, 88, 113, 0.14);
  backdrop-filter: blur(16px);
  animation: note-float 5.8s ease-in-out infinite;
  will-change: transform;
}

.capture-note small {
  color: var(--sage);
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.capture-note p {
  margin: 12px 0 0;
}

.capture-note-main {
  top: 23%;
  left: 10%;
  width: min(66%, 440px);
  padding: 30px;
  border-radius: 24px;
}

.capture-note-main p {
  max-width: 340px;
  font-size: clamp(24px, 3vw, 37px);
  line-height: 1.15;
  letter-spacing: -0.045em;
  font-weight: 590;
}

.capture-note-side {
  right: 8%;
  bottom: 18%;
  padding: 20px 23px;
  border-radius: 18px;
}

.capture-note-side p {
  font-size: 16px;
  font-weight: 560;
}

.signal-label {
  position: absolute;
  left: 28px;
  bottom: 27px;
  color: rgba(183, 195, 154, 0.45);
}

.future-slot {
  min-height: 170px;
  padding: 34px 38px;
  display: flex;
  align-items: center;
  gap: 24px;
  border: 1px dashed rgba(220, 231, 239, 0.18);
  border-radius: 28px;
  color: var(--muted);
  position: relative;
  overflow: hidden;
  transition: transform 420ms cubic-bezier(0.16, 1, 0.3, 1),
    border-color 420ms cubic-bezier(0.16, 1, 0.3, 1);
}

.future-slot::after {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: 0;
  background:
    linear-gradient(120deg, transparent 40%, rgba(129, 173, 211, 0.16), transparent 72%);
  transform: translateX(-38%);
  transition:
    opacity 260ms ease,
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.future-plus {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--blue);
  font-size: 23px;
  font-weight: 300;
}

.future-slot strong {
  color: var(--muted-strong);
  font-size: 17px;
  font-weight: 560;
}

.future-slot p {
  margin: 7px 0 0;
  font-size: 13px;
}

.future-slot:hover::after {
  opacity: 1;
  transform: translateX(18%);
}

.site-footer {
  width: var(--page);
  margin: 0 auto;
  padding: 34px 0 48px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  color: #758492;
  font-size: 12px;
  letter-spacing: 0.02em;
}

.site-footer p {
  margin: 0;
}

/* There entry handoff: the already-loaded globe quietly takes over the page
   before the browser commits the cross-document navigation. */
.there-transition {
  position: fixed;
  z-index: 1000;
  inset: 0;
  visibility: hidden;
  overflow: hidden;
  pointer-events: none;
  contain: layout paint style;
}

.there-transition.is-prepared {
  visibility: visible;
}

.there-transition-backdrop {
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    radial-gradient(circle at 65% 42%, rgba(167, 205, 229, 0.34), transparent 38%),
    radial-gradient(circle at 12% 8%, rgba(255, 255, 255, 0.96), transparent 34%),
    linear-gradient(180deg, #f9fcfe 0%, #e8f3f9 100%);
  transition: opacity var(--there-entry-duration) var(--there-entry-ease);
  will-change: opacity;
}

.there-transition-world {
  position: fixed;
  left: var(--there-target-left, 0px);
  top: var(--there-target-top, 0px);
  width: var(--there-target-width, 100vw);
  height: var(--there-target-height, 100vh);
  overflow: hidden;
  clip-path: inset(
    var(--there-entry-clip-y, 0px)
    var(--there-entry-clip-x, 0px)
    round var(--there-entry-radius, 36px)
  );
  border: 1px solid rgba(91, 129, 158, 0.12);
  border-radius: var(--there-entry-radius, 36px);
  background:
    radial-gradient(circle at 66% 48%, rgba(157, 199, 226, 0.2), transparent 34%),
    #eaf3f8;
  box-shadow: 0 34px 80px rgba(55, 87, 111, 0.14);
  opacity: 1;
  transform:
    translate3d(var(--there-entry-x, 0px), var(--there-entry-y, 0px), 0)
    scale(var(--there-entry-scale, 1));
  transform-origin: top left;
  transition:
    opacity 240ms ease,
    transform var(--there-entry-duration) var(--there-entry-ease),
    clip-path var(--there-entry-duration) var(--there-entry-ease),
    border-radius var(--there-entry-duration) var(--there-entry-ease),
    box-shadow var(--there-entry-duration) var(--there-entry-ease),
    filter var(--there-entry-duration) var(--there-entry-ease);
  will-change: transform, clip-path, opacity;
}

.there-transition-map {
  position: absolute;
  top: 50%;
  left: 50%;
  width: auto;
  height: 100%;
  aspect-ratio: 1586 / 992;
  transform: translate3d(-50%, -50%, 0);
}

.there-transition-map > .globe-coordinate-layer {
  width: 100%;
  height: 100%;
  position: relative;
  top: 0;
  left: 0;
  transform: none;
}

.there-transition-map img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.86) brightness(1.015) contrast(0.98);
}

.there-transition .globe-place {
  opacity: 1;
  transform: translate3d(-50%, -50%, 0) scale(1);
  transition: none;
}

.there-transition .globe-memory-photo {
  transition:
    opacity var(--there-entry-duration) var(--there-entry-ease),
    transform var(--there-entry-duration) var(--there-entry-ease);
}

.there-transition.is-active
  .globe-place-photo:not([data-place="中国台湾省"])
  .globe-memory-photo {
  opacity: 0.22;
  transform: scale(0.82);
}

.there-transition-world::after {
  content: "";
  position: absolute;
  inset: -40% -80%;
  opacity: 0;
  background: linear-gradient(
    106deg,
    transparent 42%,
    rgba(255, 255, 255, 0.66) 49%,
    rgba(174, 216, 241, 0.2) 53%,
    transparent 60%
  );
  transform: translate3d(-34%, 0, 0);
  transition:
    opacity 220ms ease,
    transform var(--there-entry-duration) var(--there-entry-ease);
}

.there-transition.is-active .there-transition-backdrop {
  opacity: 1;
}

.there-transition.is-active .there-transition-world {
  clip-path: inset(0 round 0);
  border-radius: 0;
  box-shadow: 0 0 0 rgba(55, 87, 111, 0);
  filter: saturate(0.96) brightness(1.02);
  transform: translate3d(0, 0, 0) scale(1);
}

.there-transition.is-source-offscreen .there-transition-world {
  clip-path: inset(0 round 0);
  opacity: 0;
  transform: translate3d(0, 0, 0) scale(1);
}

.there-transition.is-source-offscreen.is-active .there-transition-world {
  opacity: 1;
}

.there-transition.is-active .there-transition-world::after {
  opacity: 0.52;
  transform: translate3d(34%, 0, 0);
}

.there-transition.is-resetting,
.there-transition.is-resetting * {
  transition: none !important;
}

.has-js body > .site-header,
.has-js body > main,
.has-js body > .site-footer,
.has-js body > .skip-link {
  transition:
    opacity 320ms ease,
    transform 420ms var(--there-entry-ease),
    filter 420ms ease;
}

html.is-there-leaving body {
  cursor: progress;
}

html.is-there-leaving body > .site-header,
html.is-there-leaving body > main,
html.is-there-leaving body > .site-footer,
html.is-there-leaving body > .skip-link {
  opacity: 0;
  filter: saturate(0.88);
  transform: translate3d(0, -7px, 0) scale(0.997);
  pointer-events: none;
}

html.is-there-leaving body > .site-header {
  transform: translate3d(-50%, -7px, 0) scale(0.997);
}

.project:active,
html.is-there-pressing .project-there,
html.is-there-pressing .project-there.is-visible {
  --lift-y: 0px;
  box-shadow: 0 20px 58px rgba(55, 87, 111, 0.12);
  transform: perspective(1100px) translate3d(0, 2px, 0)
    rotateX(var(--rx)) rotateY(var(--ry)) scale(0.992);
  transition-duration: 90ms;
}

html.is-there-pressing .project-there .map-stage {
  transform: translate3d(0, 0, 0) scale(1.006);
  transition-duration: 90ms;
}

.project:focus-visible,
.wordmark:focus-visible,
.scroll-cue:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}

.has-js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 760ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 760ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

.has-js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition-delay: var(--reveal-delay, 0ms);
}

.has-js .project[data-reveal] {
  transform: perspective(1100px)
    translate3d(0, calc(24px + var(--lift-y)), 0)
    rotateX(var(--rx)) rotateY(var(--ry));
}

.has-js .project[data-reveal].is-visible {
  transform: perspective(1100px) translate3d(0, var(--lift-y), 0)
    rotateX(var(--rx)) rotateY(var(--ry));
}

@keyframes orbit-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes orbit-drift {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.8; }
  50% { transform: translate3d(0, -7px, 0) scale(1.08); opacity: 1; }
}

@keyframes orbit-float {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(38deg); }
  50% { transform: translate3d(-7px, -10px, 0) rotate(38deg); }
}

@keyframes orbit-pulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 6px rgba(110, 148, 185, 0.12); }
  50% { transform: scale(1.12); box-shadow: 0 0 0 12px rgba(110, 148, 185, 0.2); }
}

@keyframes globe-cinematic-float {
  0%, 100% { transform: translate3d(-4px, 3px, 0) scale(1.012); }
  38% { transform: translate3d(5px, -7px, 0) scale(1.026); }
  72% { transform: translate3d(2px, -2px, 0) scale(1.018); }
}

@keyframes atmosphere-breathe {
  0%, 100% {
    opacity: 0.42;
    transform: translate3d(-50%, -50%, 0) scale(0.975);
  }
  50% {
    opacity: 0.82;
    transform: translate3d(-50%, -50%, 0) scale(1.025);
  }
}

@keyframes globe-place-pulse {
  0%, 64% {
    opacity: 0;
    transform: scale(0.72);
  }
  76% {
    opacity: 0.68;
  }
  100% {
    opacity: 0;
    transform: scale(1.75);
  }
}

@keyframes globe-sheen-pass {
  0%, 17% {
    opacity: 0;
    transform: translate3d(-48%, 0, 0);
  }
  28% { opacity: 0.72; }
  52% { opacity: 0.38; }
  62%, 100% {
    opacity: 0;
    transform: translate3d(48%, 0, 0);
  }
}

@keyframes scan-line {
  0%, 20% { transform: translateX(-100%); }
  70%, 100% { transform: translateX(100%); }
}

@keyframes stop-trail {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(183, 195, 154, 0.08);
  }
  55% {
    transform: scale(1.08);
    box-shadow: 0 0 0 10px rgba(183, 195, 154, 0.15);
  }
}

@keyframes route-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 0.95; }
}

@keyframes note-float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

@media (hover: hover) and (pointer: fine) {
  .project:hover::after {
    opacity: 1;
  }

  .project-inspiration:hover .project-media img {
    transform: scale(1.045);
    filter: saturate(0.78) contrast(0.98) brightness(0.82);
  }

  .project-there:hover .map-stage {
    transform: scale(1.028) translate3d(var(--shift-x), var(--shift-y), 0);
  }

  .project-there:hover .globe-map-image {
    filter: saturate(0.96) contrast(1) brightness(1.025);
  }

  .project-there:hover .globe-atmosphere {
    border-color: rgba(184, 224, 247, 0.76);
  }

  .project:hover {
    --lift-y: -5px;
  }

  .project:hover .project-arrow {
    background: var(--text);
    color: white;
    transform: translate(2px, -2px) rotate(8deg);
  }

  .project:hover {
    box-shadow: 0 28px 95px rgba(55, 87, 111, 0.16);
  }

  .future-slot:hover {
    transform: translateY(-2px);
    border-color: rgba(110, 148, 185, 0.23);
  }

  .future-slot:hover .future-plus {
    transform: rotate(8deg);
  }
}

@media (max-width: 1040px) {
  :root {
    --page: min(calc(100% - 36px), 720px);
  }

  .hero {
    min-height: 800px;
  }

  .project,
  .project-inspiration {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .project-media,
  .project-inspiration .project-media {
    grid-column: 1;
    grid-row: 1;
    min-height: 470px;
  }

  .project-content,
  .project-inspiration .project-content {
    grid-column: 1;
    grid-row: 2;
    min-height: 350px;
    border: 0;
    border-top: 1px solid var(--line);
  }

  .project-there .project-media::after {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(226, 240, 248, 0.12));
  }
}

@media (max-width: 600px) {
  :root {
    --page: calc(100% - 28px);
    --there-entry-duration: 420ms;
  }

  .site-header {
    min-height: 72px;
  }

  .header-note {
    max-width: 120px;
    text-align: right;
    line-height: 1.4;
  }

  .hero {
    min-height: 730px;
    padding: 150px 0 90px;
  }

  .hero h1 {
    font-size: clamp(48px, 15vw, 68px);
    line-height: 1.01;
  }

  .hero-copy {
    margin-top: 30px;
    font-size: 16px;
  }

  .scroll-cue {
    margin-top: 48px;
  }

  .projects {
    padding: 48px 0 100px;
  }

  .project {
    margin-bottom: 18px;
    border-radius: 25px;
  }

  .project-media,
  .project-inspiration .project-media {
    min-height: 390px;
  }

  .project-content,
  .project-inspiration .project-content {
    min-height: 335px;
    padding: 27px 24px 30px;
  }

  .project-meta {
    font-size: 9px;
  }

  .project h3 {
    font-size: 48px;
  }

  .project-arrow {
    width: 44px;
    height: 44px;
  }

  .project-there .project-media {
    min-height: clamp(310px, 86vw, 420px);
  }

  .globe-place-dot {
    width: 7px;
    height: 7px;
    border-width: 1.5px;
    box-shadow:
      0 0 0 3px rgba(113, 156, 188, 0.13),
      0 3px 9px rgba(53, 95, 125, 0.2);
  }

  .globe-memory-photo {
    width: clamp(42px, 12vw, 50px);
    border-width: 2px;
  }

  .globe-photo-secondary .globe-memory-photo {
    display: none;
  }

  .globe-photo-secondary::before {
    display: none;
  }

  .capture-note-main {
    top: 18%;
    left: 7%;
    width: 76%;
    padding: 24px;
  }

  .capture-note-side {
    right: 7%;
    bottom: 18%;
  }

  .future-slot {
    min-height: 148px;
    padding: 27px 24px;
    border-radius: 24px;
  }

  .site-footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .has-js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .there-transition-backdrop,
  .there-transition-world,
  .there-transition-world::after,
  .has-js body > .site-header,
  .has-js body > main,
  .has-js body > .site-footer,
  .has-js body > .skip-link {
    transition-duration: 160ms !important;
    transition-delay: 0ms !important;
  }

  .there-transition-world::after {
    display: none;
  }

  .there-transition {
    display: none;
  }

  .project:active,
  html.is-there-pressing .project-there,
  html.is-there-pressing .project-there.is-visible {
    transform: none;
  }
}
