:root {
  color-scheme: dark;
  --bg: #050505;
  --panel: #10100e;
  --panel-soft: #171611;
  --text: #f0eee8;
  --muted: #9d988f;
  --line: rgba(240, 238, 232, 0.14);
  --gold: #d8b56d;
  --green: #4f675d;
  --blue: #315f73;
  --max: 1180px;
  --font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --font-display: "SF Pro Display", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  letter-spacing: 0;
  overflow-x: hidden;
  overflow-anchor: none;
}

body.modal-open {
  overflow: hidden;
}

body.earth-fullscreen-open {
  overflow: hidden;
}

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

img,
video {
  display: block;
  width: 100%;
}

.media-placeholder {
  display: grid;
  width: 100%;
  min-height: 220px;
  place-items: center;
  padding: 24px;
  background: var(--panel);
  color: var(--muted);
  border: 1px solid var(--line);
  text-align: center;
}

button {
  font: inherit;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px clamp(18px, 4vw, 54px);
  background: linear-gradient(180deg, rgba(8, 8, 7, 0.68), rgba(8, 8, 7, 0));
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.brand {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.brand-mark {
  width: 9px;
  height: 9px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(216, 181, 109, 0.7);
}

.site-nav a {
  color: rgba(240, 238, 232, 0.52);
  font-size: 12px;
}

.site-nav a:hover {
  color: var(--text);
}

.hero {
  width: min(var(--max), calc(100vw - 48px));
  min-height: min(100vh, 940px);
  margin: 0 auto;
  display: block;
  padding: clamp(74px, 9vh, 104px) 0 clamp(38px, 5vh, 64px);
}

.hero-frame {
  position: relative;
  width: 100%;
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.55);
}

.hero-media {
  position: relative;
  width: 100%;
  height: min(76vh, 780px);
  min-height: 0;
  overflow: hidden;
  background: var(--panel);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 1000ms ease, transform 6200ms ease;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: -28px;
  background-image: var(--hero-image);
  background-position: center;
  background-size: cover;
  filter: blur(24px) saturate(0.74) brightness(0.42);
  transform: scale(1.08);
}

.hero-slide img,
.hero-slide video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.84) contrast(1.04) brightness(0.82);
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 2;
  width: auto;
  max-width: min(390px, calc(100% - 16px));
  padding: 16px 18px;
  color: var(--text);
}

.hero-copy::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(8, 8, 7, 0.48);
  pointer-events: none;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(44px, 4.2vw, 78px);
  line-height: 1.08;
  font-weight: 300;
  word-break: keep-all;
}

.hero-copy h1 {
  max-width: 100%;
  font-size: clamp(54px, min(4.5vw, 10.6cqw), 86px);
  line-height: 1.03;
  white-space: nowrap;
}

h2 {
  margin-bottom: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.14;
  font-weight: 300;
}

h3 {
  margin-bottom: 0;
  font-size: 19px;
  font-weight: 500;
}

.hero-copy p:not(.eyebrow),
.intro p,
.section-heading > p,
.about p,
.earth-copy p:not(.eyebrow),
.contact h2,
.contact p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.hero-copy p:not(.eyebrow) {
  width: max-content;
  max-width: 330px;
  color: rgba(240, 238, 232, 0.68);
  font-size: 13px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  width: max-content;
  max-width: 100%;
  margin-top: 22px;
}

.button,
.filters button,
.location-list button,
.earth-panel button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  cursor: pointer;
}

.button {
  display: inline-flex;
  align-items: center;
  padding: 0 18px;
  font-size: 13px;
}

.hero-actions .button {
  min-height: 34px;
  padding: 0 12px;
  border-color: rgba(240, 238, 232, 0.18);
  background: rgba(8, 8, 7, 0.16);
  color: rgba(240, 238, 232, 0.68);
  font-size: 12px;
}

.hero-actions .button.primary {
  border-color: rgba(216, 181, 109, 0.34);
  background: rgba(216, 181, 109, 0.06);
  color: rgba(240, 238, 232, 0.76);
}

.button.primary,
.filters button.active,
.location-list button.active,
.earth-panel button {
  border-color: rgba(216, 181, 109, 0.55);
  background: rgba(216, 181, 109, 0.12);
}

.section {
  width: min(var(--max), calc(100vw - 48px));
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(72px, 9vw, 110px) 0;
}

.intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 0.85fr);
  gap: clamp(42px, 7vw, 92px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid rgba(240, 238, 232, 0.06);
  padding-top: clamp(54px, 6vw, 82px);
  padding-bottom: clamp(54px, 6vw, 82px);
}

.intro p {
  max-width: 760px;
  color: rgba(240, 238, 232, 0.48);
  font-size: 14px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, max-content);
  justify-content: space-between;
  gap: clamp(18px, 2.4vw, 44px);
  margin: 0;
}

.stats div {
  min-width: 0;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}

.stats dt {
  font-family: var(--font-display);
  font-size: clamp(20px, 1.45vw, 26px);
  font-weight: 400;
  line-height: 1.08;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.stats dd {
  margin: 6px 0 0;
  color: rgba(240, 238, 232, 0.42);
  font-size: 12px;
  text-transform: uppercase;
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.split-heading {
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(28px, 5vw, 72px);
}

.split-heading > p {
  max-width: 620px;
  margin: 0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.filters button {
  padding: 0 15px;
  color: var(--muted);
}

.filters button.active {
  color: var(--text);
}

.work-grid,
.featured-grid,
.film-index {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 22px;
}

.featured-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.featured-grid .work-card.is-large {
  grid-column: 1 / -1;
}

.featured-grid .work-card.is-large .media-frame {
  aspect-ratio: 16 / 10;
}

.film-index {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.work-card,
.film-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto;
  align-self: start;
  min-height: 0;
  overflow: hidden;
  background: var(--panel);
  cursor: pointer;
  border: 1px solid rgba(240, 238, 232, 0.09);
  box-shadow: 0 22px 58px rgba(0, 0, 0, 0.18);
  transition: transform 360ms ease, border-color 360ms ease, box-shadow 360ms ease, background 360ms ease;
}

.work-card:hover,
.work-card:focus-visible,
.film-card:hover,
.film-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(240, 238, 232, 0.16);
  background: rgba(18, 18, 16, 0.92);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.3);
}

.work-card.is-large {
  grid-column: span 2;
  grid-row: auto;
}

.work-card.is-large .media-frame {
  aspect-ratio: 5 / 4;
}

.work-card:not(.is-large) .media-frame {
  aspect-ratio: 4 / 3.05;
}

.work-card img,
.work-card video,
.work-card .media-placeholder,
.film-card video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 500ms ease, filter 500ms ease;
  filter: saturate(0.86) brightness(0.9);
}

.media-frame {
  position: relative;
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  place-items: center;
  overflow: hidden;
  background: #050505;
}

.media-frame::before {
  content: "";
  position: absolute;
  inset: -18px;
  background-image: var(--media-bg);
  background-size: cover;
  background-position: center;
  opacity: 0.42;
  filter: blur(18px) saturate(0.72) brightness(0.58);
  transform: scale(1.12);
}

.media-frame img,
.media-frame video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.work-card:hover img,
.work-card:focus img,
.work-card:hover video,
.work-card:focus video,
.film-card:hover video,
.film-card:focus video {
  transform: scale(1.006);
  filter: saturate(0.9) brightness(0.95);
}

.film-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  padding: 6px 10px;
  border: 1px solid rgba(240, 238, 232, 0.36);
  background: rgba(8, 8, 7, 0.72);
  color: var(--gold);
  font-size: 12px;
  backdrop-filter: blur(10px);
}

.work-card-copy,
.film-card-copy {
  display: grid;
  align-content: end;
  gap: 4px;
  min-height: 58px;
  padding: 10px 12px 12px;
  background: rgba(10, 10, 9, 0.72);
  border-top: 1px solid rgba(240, 238, 232, 0.04);
}

.work-card-copy p,
.film-card-copy p,
.earth-panel p {
  margin-bottom: 4px;
  color: rgba(240, 238, 232, 0.36);
  font-size: 10px;
  text-transform: uppercase;
}

.work-card-copy h3,
.film-card-copy h3 {
  color: rgba(240, 238, 232, 0.88);
  font-size: 15px;
  font-weight: 500;
}

.film-card-copy small {
  color: var(--gold);
  font-size: 12px;
}

.film-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #050505;
}

.film-cover,
.film-card:hover .film-cover,
.film-card:focus .film-cover {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  transform-origin: center center;
  transition: transform 500ms ease, filter 500ms ease;
  filter: saturate(0.86) brightness(0.9);
}

.film-card:hover .film-cover,
.film-card:focus-visible .film-cover {
  transform: scale(1.006);
  filter: saturate(0.9) brightness(0.95);
}

.about {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(26px, 4vw, 46px);
  border-top: 1px solid var(--line);
}

.about h2 {
  max-width: none;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.16;
}

.about-copy {
  display: grid;
  max-width: 700px;
  gap: 14px;
}

.about-copy p {
  max-width: 680px;
  color: rgba(240, 238, 232, 0.58);
  font-size: 15px;
  line-height: 1.85;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.about-columns div {
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.about-columns h3 {
  margin-bottom: 10px;
  color: rgba(240, 238, 232, 0.82);
  font-size: 14px;
  font-weight: 500;
}

.about-columns p {
  color: rgba(240, 238, 232, 0.48);
  font-size: 13px;
  line-height: 1.75;
}

.earth-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(22px, 3vw, 34px);
  width: 100%;
  margin: 0;
  padding: 88px max(24px, calc((100vw - var(--max)) / 2));
  background:
    radial-gradient(circle at 68% 36%, rgba(49, 95, 115, 0.2), rgba(5, 5, 5, 0) 36%),
    radial-gradient(circle at 40% 64%, rgba(216, 181, 109, 0.08), rgba(5, 5, 5, 0) 42%),
    linear-gradient(135deg, #070707, #0e1211 48%, #050608);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.earth-copy {
  margin-bottom: 0;
}

.earth-copy h2 {
  font-size: clamp(30px, 3.8vw, 52px);
}

.earth-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-bottom: 0;
}

.location-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -8px;
  margin-bottom: 4px;
}

.location-list button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  min-height: 36px;
  padding: 0 12px;
  color: var(--muted);
}

.location-list small {
  color: var(--gold);
  display: none;
}

.earth-stage {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 46%, rgba(49, 95, 115, 0.12), rgba(5, 5, 5, 0) 58%),
    #050505;
}

.earth-fullscreen-placeholder {
  width: 100%;
  min-height: 1px;
  pointer-events: none;
}

#globe {
  width: 100%;
  height: 680px;
  border: 0;
  background:
    radial-gradient(circle at 26% 22%, rgba(73, 54, 96, 0.26), rgba(8, 8, 7, 0) 44%),
    radial-gradient(circle at 50% 45%, rgba(49, 95, 115, 0.24), rgba(8, 8, 7, 0) 62%),
    #050505;
  box-shadow: inset 0 0 140px rgba(255, 255, 255, 0.035), 0 42px 120px rgba(0, 0, 0, 0.32);
  cursor: grab;
  transition: opacity 780ms ease, filter 780ms ease, transform 780ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

#globe:active {
  cursor: grabbing;
}

.earth-fullscreen {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 8;
  display: grid;
  width: 38px;
  height: 38px;
  min-height: 0;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(240, 238, 232, 0.16);
  border-radius: 50%;
  background: rgba(8, 8, 7, 0.34);
  color: rgba(240, 238, 232, 0.68);
  cursor: pointer;
  backdrop-filter: blur(14px);
  opacity: 0.56;
  transition: opacity 220ms ease, border-color 220ms ease, background 220ms ease;
}

.earth-fullscreen:hover {
  border-color: rgba(240, 238, 232, 0.28);
  background: rgba(8, 8, 7, 0.62);
  color: var(--text);
  opacity: 1;
}

.earth-fullscreen span {
  position: relative;
  width: 17px;
  height: 17px;
}

.earth-fullscreen span::before,
.earth-fullscreen span::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: currentColor;
  border-style: solid;
}

.earth-fullscreen span::before {
  left: 0;
  top: 0;
  border-width: 1.5px 0 0 1.5px;
}

.earth-fullscreen span::after {
  right: 0;
  bottom: 0;
  border-width: 0 1.5px 1.5px 0;
}

.earth-fullscreen.is-exit span::before {
  left: 2px;
  right: auto;
  top: 2px;
  width: 6px;
  height: 6px;
  border-width: 0 1.5px 1.5px 0;
}

.earth-fullscreen.is-exit span::after {
  right: 2px;
  left: auto;
  bottom: 2px;
  width: 6px;
  height: 6px;
  border-width: 1.5px 0 0 1.5px;
}

.earth-fullscreen.is-exit span {
  width: 21px;
  height: 21px;
}

.earth-stage:not(.is-fullscreen) .earth-fullscreen.is-exit span {
  width: 17px;
  height: 17px;
}

.earth-stage:not(.is-fullscreen) .earth-fullscreen.is-exit span::before {
  left: 0;
  right: auto;
  top: 0;
  width: 8px;
  height: 8px;
  border-width: 1.5px 0 0 1.5px;
}

.earth-stage:not(.is-fullscreen) .earth-fullscreen.is-exit span::after {
  right: 0;
  left: auto;
  bottom: 0;
  width: 8px;
  height: 8px;
  border-width: 0 1.5px 1.5px 0;
}

.earth-stage:fullscreen,
.earth-stage.is-fullscreen {
  position: fixed;
  inset: 0;
  z-index: 60;
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  background: #030404;
}

.earth-stage:fullscreen #globe,
.earth-stage.is-fullscreen #globe {
  width: 100vw;
  height: 100vh;
  min-height: 100vh;
}

.earth-stage.is-restoring,
.earth-stage.is-restoring #globe {
  transition: none !important;
}

.earth-stage.is-fullscreen .viewer {
  position: absolute;
  z-index: 90;
}

.earth-stage.is-fullscreen .modal {
  position: absolute;
  z-index: 75;
}

.earth-stage:fullscreen .terrain-map,
.earth-stage.is-fullscreen .terrain-map {
  inset: 0;
}

.earth-panel {
  position: absolute;
  right: 26px;
  bottom: 26px;
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 16px;
  width: min(560px, calc(100% - 52px));
  padding: 14px;
  background: rgba(8, 8, 7, 0.82);
  border: 1px solid var(--line);
  backdrop-filter: blur(16px);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.48);
  transition: transform 360ms ease, width 360ms ease, background 360ms ease;
  z-index: 12;
}

.earth-panel.is-empty {
  display: none;
}

.earth-section.focused .earth-panel {
  top: 20px;
  left: 50%;
  right: auto;
  bottom: auto;
  align-items: start;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  width: min(660px, calc(100% - 340px));
  padding: 9px;
  transform: translateX(-50%);
  background: rgba(8, 8, 7, 0.54);
  backdrop-filter: blur(12px);
}

.earth-section.switching .earth-panel {
  animation: panelLift 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.earth-section.flying #globe {
  filter: brightness(1.12) saturate(1.08);
  transform: scale(1.018);
}

.earth-section.focused #globe {
  opacity: 0;
  filter: brightness(1.32) blur(2px);
  transform: scale(1.06);
  pointer-events: none;
}

.terrain-map {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: #070707;
  overflow: hidden;
  cursor: grab;
  touch-action: none;
  transition: opacity 460ms ease, transform 520ms ease;
}

.earth-section.focused .terrain-map {
  opacity: 1;
  pointer-events: auto;
  transition-delay: 140ms;
}

.earth-section.switching .terrain-map {
  transform: scale(1.035);
}

.terrain-map:active {
  cursor: grabbing;
}

.satellite-preview-layer,
.satellite-tile-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.satellite-preview-layer {
  z-index: 1;
  filter: blur(10px) saturate(0.72) contrast(1.02) brightness(0.72);
  transform: scale(1.03);
}

.satellite-tile-layer {
  z-index: 2;
  filter: saturate(0.9) contrast(1.08) brightness(0.86);
}

.satellite-preview-layer img,
.satellite-tile-layer img {
  position: absolute;
  width: 256px;
  height: 256px;
  max-width: none;
  user-select: none;
  -webkit-user-drag: none;
}

.satellite-attribution {
  position: absolute;
  right: 10px;
  bottom: 8px;
  z-index: 4;
  padding: 3px 7px;
  background: rgba(8, 8, 7, 0.58);
  color: rgba(240, 238, 232, 0.62);
  font-size: 10px;
}

.terrain-map::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.42), rgba(5, 5, 5, 0) 30%, rgba(5, 5, 5, 0.18)),
    linear-gradient(90deg, rgba(5, 5, 5, 0.28), rgba(5, 5, 5, 0.02) 42%, rgba(5, 5, 5, 0.18));
}

.terrain-marker {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(240, 238, 232, 0.85);
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 12px rgba(216, 181, 109, 0.18), 0 0 32px rgba(216, 181, 109, 0.75);
  cursor: pointer;
}

.terrain-pin {
  position: absolute;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  max-width: 180px;
  padding: 0 12px;
  border: 1px solid rgba(240, 238, 232, 0.75);
  border-radius: 999px;
  background: rgba(8, 8, 7, 0.78);
  color: var(--text);
  font-size: 12px;
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.42);
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: transform 220ms ease, background 220ms ease, border-color 220ms ease;
}

.terrain-pin:hover {
  border-color: var(--gold);
  background: rgba(8, 8, 7, 0.9);
  transform: translate(-50%, -50%) scale(1.04);
}

.terrain-pin.is-muted {
  z-index: 5;
  min-height: 26px;
  max-width: 130px;
  padding: 0 9px;
  border-color: rgba(240, 238, 232, 0.42);
  background: rgba(8, 8, 7, 0.54);
  color: rgba(240, 238, 232, 0.72);
  font-size: 11px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.34);
}

.terrain-pin.is-muted::before {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 0 7px rgba(216, 181, 109, 0.12), 0 0 20px rgba(216, 181, 109, 0.44);
}

.terrain-pin.is-active {
  z-index: 7;
  border-color: rgba(240, 238, 232, 0.78);
  background: rgba(8, 8, 7, 0.82);
}

.terrain-return {
  position: absolute;
  left: 24px;
  top: 24px;
  z-index: 13;
  display: none;
  min-height: 28px;
  padding: 0 9px;
  border: 1px solid rgba(240, 238, 232, 0.12);
  border-radius: 999px;
  background: rgba(8, 8, 7, 0.28);
  color: rgba(240, 238, 232, 0.5);
  font-size: 11px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  opacity: 0.62;
  transition: opacity 180ms ease, background 180ms ease, border-color 180ms ease;
}

.terrain-return:hover {
  border-color: rgba(240, 238, 232, 0.28);
  background: rgba(8, 8, 7, 0.58);
  color: rgba(240, 238, 232, 0.86);
  opacity: 1;
}

.earth-section.focused .terrain-return {
  display: inline-flex;
  align-items: center;
}

.terrain-pin::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 10px rgba(216, 181, 109, 0.18), 0 0 28px rgba(216, 181, 109, 0.72);
}

.photo-pin {
  position: absolute;
  z-index: 8;
  width: calc(58px * var(--pin-scale, 1));
  height: calc(58px * var(--pin-scale, 1));
  min-width: 20px;
  min-height: 20px;
  padding: max(2px, calc(3px * var(--pin-scale, 1)));
  border: max(1px, calc(2px * var(--pin-scale, 1))) solid rgba(240, 238, 232, 0.9);
  border-radius: max(9px, calc(14px * var(--pin-scale, 1)));
  background: rgba(240, 238, 232, 0.92);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.42), 0 0 0 8px rgba(8, 8, 7, 0.16);
  cursor: zoom-in;
  transform: translate(calc(-50% + var(--pin-offset-x, 0px)), calc(-50% + var(--pin-offset-y, 0px)));
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.photo-pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(-9px * var(--pin-scale, 1));
  width: calc(14px * var(--pin-scale, 1));
  height: calc(14px * var(--pin-scale, 1));
  background: rgba(240, 238, 232, 0.92);
  transform: translateX(-50%) rotate(45deg);
}

.photo-pin img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: max(7px, calc(10px * var(--pin-scale, 1)));
  object-fit: cover;
}

.photo-pin:hover {
  transform: translate(calc(-50% + var(--pin-offset-x, 0px)), calc(-50% + var(--pin-offset-y, 0px))) scale(1.08);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5), 0 0 0 10px rgba(216, 181, 109, 0.14);
}

@keyframes panelLift {
  from {
    opacity: 0;
    transform: translateX(-50%) translateY(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateX(-50%) translateY(0) scale(1);
  }
}

.terrain-fallback {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 24px;
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(8, 8, 7, 0.86);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  z-index: 4;
}

.earth-panel-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}

.earth-panel.map-strip .earth-panel-gallery {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  align-self: start;
  order: 1;
  gap: 6px;
}

.earth-panel-gallery img,
.earth-panel-gallery video {
  height: 76px;
  object-fit: cover;
}

.earth-panel.map-strip .earth-panel-gallery img,
.earth-panel.map-strip .earth-panel-gallery video {
  height: clamp(62px, 5.2vw, 82px);
  width: 100%;
}

.earth-panel.map-strip .earth-panel-copy {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  order: 2;
}

.earth-panel.map-strip .earth-panel-copy small {
  grid-column: 1 / 2;
  -webkit-line-clamp: 1;
}

.earth-panel.map-strip .earth-panel-copy h3 {
  margin: 0;
  font-size: 15px;
  line-height: 1.25;
}

.earth-panel-meta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-column: 1 / -1;
  align-items: baseline;
  gap: 12px;
}

.earth-panel-meta p {
  justify-self: end;
  text-align: right;
}

.earth-panel-copy p {
  margin: 0;
  color: rgba(240, 238, 232, 0.42);
  font-size: 10px;
  line-height: 1.45;
}

.earth-panel-copy small {
  display: -webkit-box;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.earth-panel-actions {
  display: flex;
  grid-column: 2 / 3;
  grid-row: 2 / 3;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
  margin-top: 0;
}

.earth-panel button {
  min-height: 26px;
  padding: 0 9px;
  border-color: rgba(216, 181, 109, 0.22);
  background: rgba(8, 8, 7, 0.12);
  color: rgba(240, 238, 232, 0.54);
  font-size: 11px;
}

.earth-panel button:hover {
  border-color: rgba(216, 181, 109, 0.46);
  color: rgba(240, 238, 232, 0.82);
}

.earth-panel button.ghost {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.04);
}

.contact {
  width: min(var(--max), calc(100vw - 48px));
  margin: 0 auto;
  padding: 96px 0;
  background: var(--panel-soft);
  box-shadow: 0 0 0 100vmax var(--panel-soft);
  clip-path: inset(0 -100vmax);
}

.contact h2 {
  max-width: 720px;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.18;
  font-weight: 300;
}

.contact p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(240, 238, 232, 0.5);
  font-size: 14px;
  line-height: 1.8;
}

.contact a {
  color: var(--gold);
  font-size: 16px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 4vw, 54px);
  border-top: 1px solid var(--line);
  color: rgba(240, 238, 232, 0.38);
  font-size: 11px;
}

.source-note {
  color: rgba(240, 238, 232, 0.22);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  padding: 74px clamp(18px, 4vw, 54px);
  overflow-y: auto;
  background: rgba(8, 8, 7, 0.94);
}

.modal.open {
  display: block;
}

.modal.film-mode {
  padding: clamp(72px, 12vh, 132px) 24px 64px;
  overflow-y: auto;
  background: #050505;
}

.modal-close {
  position: fixed;
  top: 24px;
  right: 28px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.modal.film-mode .modal-close {
  top: 18px;
  right: 20px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(240, 238, 232, 0.62);
}

.modal-body {
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 38px;
  max-width: min(1480px, calc(100vw - 72px));
  margin: 0 auto;
}

.modal.film-mode .modal-body {
  display: grid;
  grid-template-columns: clamp(96px, 10vw, 150px) minmax(0, 1fr);
  gap: clamp(24px, 3.4vw, 54px);
  width: min(1680px, calc(100vw - 96px));
  max-width: none;
  min-width: 0;
  height: auto;
  margin: 0 auto;
  align-items: start;
}

.modal.film-mode .modal-body > div:first-child {
  position: static;
  z-index: 3;
  max-width: none;
  margin: 0;
  pointer-events: none;
}

.modal.film-mode #modal-description {
  display: none;
}

.modal.film-mode #modal-meta {
  margin-bottom: 18px;
  color: rgba(216, 181, 109, 0.78);
  font-size: 11px;
  line-height: 1.55;
  letter-spacing: 0;
  text-transform: uppercase;
}

.modal.film-mode #modal-title {
  max-width: 12em;
  color: rgba(240, 238, 232, 0.56);
  font-family: var(--font-sans);
  font-size: clamp(12px, 0.82vw, 15px);
  line-height: 1.45;
  font-weight: 500;
}

.modal-body p:not(.eyebrow) {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.modal-body p[hidden] {
  display: none;
}

.modal-gallery {
  display: grid;
  gap: 34px;
}

.project-section {
  display: grid;
  gap: 14px;
}

.project-section h3 {
  margin: 0;
  color: var(--gold);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.project-images {
  display: block;
  column-count: 2;
  column-gap: 18px;
}

.project-media {
  display: block;
  width: 100%;
  margin: 0 0 18px;
  padding: 0;
  break-inside: avoid;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.project-media img,
.project-media video {
  transition: filter 180ms ease, transform 180ms ease;
}

.project-media:hover img,
.project-media:hover video {
  filter: brightness(1.08);
}

.project-film {
  width: 100%;
  background: #050505;
  border: 1px solid var(--line);
}

.project-films {
  display: grid;
  gap: 18px;
}

.film-section {
  position: relative;
  width: 100%;
  height: auto;
  gap: 8px;
}

.film-player-head {
  position: static;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  pointer-events: none;
}

.film-player-head h3 {
  color: rgba(240, 238, 232, 0.38);
}

.film-player-head button,
.film-strip button {
  pointer-events: auto;
}

.film-switch,
.film-strip {
  display: flex;
  gap: 8px;
}

.film-switch button,
.film-strip button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(240, 238, 232, 0.14);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(240, 238, 232, 0.56);
  cursor: pointer;
}

.film-strip button.active {
  border-color: rgba(216, 181, 109, 0.48);
  color: var(--gold);
}

.modal.film-mode .project-film {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(240, 238, 232, 0.12);
}

.project-film video {
  width: 100%;
  max-height: 82vh;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #050505;
}

.modal.film-mode .project-film video {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: 16 / 9;
  background: #000;
}

.modal.film-mode .film-strip {
  position: static;
  z-index: 2;
  transform: none;
  margin-top: 8px;
}

.modal-gallery img,
.modal-gallery video {
  width: 100%;
  max-height: none;
  display: block;
  object-fit: contain;
  background: var(--panel);
  border: 1px solid rgba(240, 238, 232, 0.08);
}

.viewer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 54px 82px;
  background: rgba(0, 0, 0, 0.94);
}

.viewer.open {
  display: flex;
}

.viewer-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.viewer-stage img,
.viewer-stage video {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.62);
}

.viewer-close,
.viewer-nav {
  position: fixed;
  z-index: 2;
  border: 1px solid rgba(240, 238, 232, 0.22);
  background: rgba(12, 12, 10, 0.72);
  color: var(--text);
  cursor: pointer;
  backdrop-filter: blur(16px);
}

.viewer-close {
  top: 24px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 28px;
  line-height: 1;
}

.viewer-nav {
  top: 50%;
  width: 48px;
  height: 72px;
  border-radius: 999px;
  font-size: 42px;
  transform: translateY(-50%);
}

.viewer-prev {
  left: 24px;
}

.viewer-next {
  right: 24px;
}

.viewer-count {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  color: rgba(240, 238, 232, 0.72);
  font-size: 12px;
}

@media (min-width: 1280px) {
  .project-images {
    column-count: 3;
  }
}

@media (max-width: 900px) {
  .site-header {
    position: sticky;
    padding: 16px 18px;
    background: rgba(8, 8, 7, 0.9);
    backdrop-filter: blur(14px);
  }

  .site-nav {
    width: 100%;
    max-width: 100%;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    scrollbar-width: none;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

  .hero,
  .intro,
  .split-heading,
  .earth-section,
  .earth-copy,
  .about,
  .modal-body {
    grid-template-columns: 1fr;
  }

  .about-columns {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 34px;
  }

  .hero-media {
    min-height: 360px;
    height: 66vh;
  }

  .hero-copy {
    right: 0;
    bottom: 0;
  }

  .modal.film-mode {
    padding: 72px 18px 36px;
  }

  .modal.film-mode .modal-body {
    width: 100%;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .modal.film-mode #modal-title {
    max-width: none;
    font-size: 13px;
  }

  .work-grid,
  .featured-grid,
  .film-index {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .work-card.is-large {
    grid-column: span 2;
    grid-row: auto;
  }

  .featured-grid .work-card.is-large {
    grid-column: 1 / -1;
  }

  .featured-grid .work-card.is-large .media-frame {
    aspect-ratio: 16 / 9.6;
  }

  .project-images {
    column-count: 1;
  }

  .earth-stage,
  #globe {
    min-height: 500px;
    height: 500px;
  }

  .location-list {
    grid-column: auto;
    margin-top: 0;
  }
}

@media (max-width: 640px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .brand span:last-child {
    display: inline;
  }

  .site-nav a {
    font-size: 12px;
  }

  .hero {
    width: calc(100vw - 32px);
    gap: 24px;
    padding: 72px 0 34px;
  }

  .hero-copy {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    max-width: 100%;
    margin-top: 22px;
    padding: 0;
  }

  .hero-copy::before {
    display: none;
  }

  .hero-media {
    height: 58vh;
  }

  h1 {
    font-size: clamp(42px, 12vw, 56px);
  }

  .hero-copy h1 {
    font-size: clamp(42px, 14vw, 56px);
  }

  .hero-copy h1.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
  }

  h2 {
    font-size: clamp(28px, 9vw, 40px);
  }

  .hero-copy p:not(.eyebrow),
  .intro p,
  .about p,
  .earth-copy p:not(.eyebrow) {
    font-size: 16px;
  }

  .about-columns p {
    font-size: 13px;
  }

  .contact h2 {
    font-size: clamp(24px, 7vw, 34px);
  }

  .hero-copy p:not(.eyebrow),
  .hero-actions {
    width: 100%;
    max-width: 100%;
  }

  .hero-actions,
  .stats {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
    justify-content: center;
  }

  .section {
    width: calc(100vw - 32px);
    padding: 68px 0;
  }

  .intro {
    gap: 28px;
  }

  .section-heading {
    display: grid;
    gap: 10px;
  }

  .work-grid,
  .featured-grid,
  .film-index {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .work-card.is-large {
    grid-column: auto;
  }

  .featured-grid .work-card.is-large .media-frame {
    aspect-ratio: 4 / 3.05;
  }

  .work-card {
    grid-template-rows: auto auto;
  }

  .work-card-copy {
    padding: 12px;
  }

  .earth-panel {
    position: static;
    width: 100%;
    margin-top: 14px;
    grid-template-columns: 1fr;
  }

  .earth-section.focused .earth-panel {
    position: absolute;
    left: 50%;
    top: 16px;
    width: min(420px, calc(100% - 46px));
    transform: translateX(-50%);
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 8px;
    background: rgba(8, 8, 7, 0.52);
  }

  .earth-panel-gallery {
    grid-template-columns: repeat(4, 1fr);
  }

  .earth-panel.map-strip .earth-panel-gallery {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 4px;
  }

  .earth-panel.map-strip .earth-panel-gallery img {
    height: clamp(38px, 8vw, 54px);
  }

  .earth-panel.map-strip .earth-panel-copy h3 {
    font-size: 13px;
    line-height: 1.2;
  }

  .earth-panel.map-strip .earth-panel-copy {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .earth-panel-meta {
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
  }

  .earth-panel-meta p {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  .earth-panel-copy p {
    margin-bottom: 4px;
    font-size: 9px;
  }

  .earth-panel-copy small {
    font-size: 11px;
    line-height: 1.45;
  }

  .earth-panel.map-strip .earth-panel-copy small {
    display: -webkit-box;
    grid-column: 1 / 2;
    font-size: 10px;
    line-height: 1.35;
    -webkit-line-clamp: 1;
  }

  .earth-panel-actions {
    margin-top: 0;
  }

  .earth-panel button {
    min-height: 26px;
    padding: 0 7px;
    font-size: 10px;
  }

  .terrain-return {
    left: 14px;
    top: 14px;
    min-height: 28px;
    padding: 0 9px;
    font-size: 11px;
  }

  .site-footer {
    display: grid;
  }

  .modal {
    padding: 70px 14px 24px;
  }

  .modal.film-mode {
    padding: 86px 16px 36px;
  }

  .modal-close {
    top: 14px;
    right: 14px;
  }

  .modal-body {
    max-width: none;
    gap: 24px;
  }

  .modal.film-mode .modal-body {
    width: 100%;
    min-width: 0;
    grid-template-columns: 1fr;
  }

  .modal-body p:not(.eyebrow) {
    font-size: 15px;
  }

  .project-images {
    column-gap: 12px;
  }

  .project-media {
    margin-bottom: 12px;
  }

  .viewer {
    padding: 60px 14px;
  }

  .viewer-nav {
    width: 42px;
    height: 56px;
    font-size: 34px;
  }

  .viewer-prev {
    left: 10px;
  }

  .viewer-next {
    right: 10px;
  }

  .earth-stage {
    min-height: auto;
  }

  #globe {
    height: 430px;
    min-height: 430px;
  }
}
