:root {
  --ink: #102b45;
  --navy: #0b2742;
  --blue: #1256bb;
  --mute: #455e73;
  --line: #d2dee7;
  --cover-sky: #041c36;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', 'Noto Sans CJK SC', sans-serif;
}

.site-head { border-bottom: 1px solid #dce4e9; }
.site-nav a { font-weight: 560; }
.site-nav a[aria-current]::after {
  bottom: 15px;
  left: calc(50% - 8px);
  right: auto;
  width: 16px;
  height: 2px;
}
.site-head .language { font-weight: 600; }

/* The copy and the approved artwork share a single night-sky canvas. */
.brand-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--cover-sky);
  color: #fff;
}
.cover-layout {
  display: grid;
  align-items: center;
  grid-template-columns: minmax(0, 1.24fr) minmax(0, .76fr);
  min-height: clamp(23.5rem, 32vw, 27rem);
  padding-block: clamp(1.65rem, 2.5vw, 2.6rem);
}
.cover-copy { position: relative; z-index: 1; }
.cover-identity {
  display: flex;
  align-items: center;
  gap: .85rem;
  font-size: .875rem;
  line-height: 1.5;
  font-weight: 600;
  color: #d3e1ee;
  letter-spacing: .065em;
}
.cover-identity::before {
  content: '';
  flex: 0 0 1.7rem;
  height: 2px;
  background: #e1bc72;
}
.cover-copy h1 {
  margin: clamp(.85rem, 1.3vw, 1.15rem) 0 .85rem;
  font-size: clamp(1.75rem, 1.45rem + 1.15vw, 2.5rem);
  line-height: 1.23;
  font-weight: 600;
  letter-spacing: -.035em;
}
.cover-copy h1 span { display: block; }
.cover-copy h1 span:last-child { color: var(--blue); }
.cover-copy h1 em {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-weight: 500;
  letter-spacing: -.055em;
}
html[lang='en'] .cover-copy h1 {
  line-height: 1.16;
}
html[lang='en'] .cover-copy h1 em { letter-spacing: -.045em; }
html[lang='en'] .cover-identity { letter-spacing: .015em; }
.cover-intro {
  max-width: 39rem;
  font-size: clamp(1rem, 1.2vw, 1.17rem);
  line-height: 1.85;
  color: #d6e3ef;
}
.cover-actions { align-items: center; gap: 1.65rem; margin-top: clamp(1.2rem, 1.8vw, 1.6rem); }
.cover-actions .solid {
  padding: .8rem 1.52rem;
  min-height: 48px;
  background: #f3f7fd;
  color: #153a63;
  border-color: #f3f7fd;
  border-radius: 5px;
  font-weight: 600;
}
.cover-actions .solid:hover { background: #dceafb; }
.cover-actions a:focus-visible { outline: 3px solid #f9d991; outline-offset: 4px; }
.quiet-link {
  display: inline-flex;
  align-items: center;
  padding: .5rem 0;
  min-height: 44px;
  color: #e3edf8;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: #8faac4;
  text-underline-offset: .42em;
}
.quiet-link:hover { color: #fff; text-decoration-color: currentColor; }
.cover-visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: 48%;
  pointer-events: none;
}
.cover-image {
  display: block;
  height: 100%;
  max-width: 100%;
  aspect-ratio: 1.07;
  margin-inline-start: auto;
  mask-image: linear-gradient(to right, transparent, #000 42%);
}
.cover-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% 20%;
}
.brand-footer { background: #0b2742; color: #fff; }
.footer-lead {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 3rem;
  padding-block: clamp(2.4rem, 4.2vw, 4rem) clamp(1.75rem, 2.8vw, 2.6rem);
}
.footer-principle .eyebrow { color: #bbd3e4; }
.footer-principle .eyebrow i { width: 1.8rem; height: 2px; background: #dfb766; }
.footer-principle > p:last-child {
  margin-top: .8rem;
  font-size: clamp(1.125rem, .95rem + .55vw, 1.5rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -.015em;
  text-wrap: balance;
}
.footer-principle > p:last-child span { display: inline-block; max-width: 100%; }
.footer-contacts { display: grid; justify-items: start; gap: .4rem; }
.footer-contacts > a:first-child { font-size: .9rem; color: #c0d5e5; }
.footer-email { font-size: clamp(1.12rem, 1.5vw, 1.4rem); color: white; font-weight: 450; text-underline-offset: .3em; }
.footer-contacts a:hover, .footer-base a:hover { text-decoration: underline; }
.footer-base {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  padding-block: 1.3rem 1.7rem;
  border-top: 1px solid #436079;
  color: #bed0de;
  font-size: .875rem;
}
.footer-base nav { display: flex; flex-wrap: wrap; gap: .65rem 1.5rem; }
.brand-footer a:focus-visible { outline-color: #d6edff; }

@media (min-width: 961px) {
  .cover-visual { width: min(60%, 64rem); }
  .cover-image {
    width: 100%;
    aspect-ratio: auto;
    mask-image: linear-gradient(to right, transparent, #000 25%);
  }
  .cover-image img { object-position: 62% 48%; }
}
@media (min-width: 1800px) {
  .cover-visual { right: calc((100% - 1800px) / 2); }
  .cover-image { mask-image: linear-gradient(to right, transparent, #000 22% 82%, transparent); }
}
@media (min-width: 761px) and (max-width: 960px) {
  .cover-layout { grid-template-columns: minmax(0, 1.3fr) minmax(0, .75fr); min-height: 21rem; }
  .cover-visual { width: 38%; display: grid; align-items: center; }
  .cover-image {
    width: 100%;
    height: auto;
    aspect-ratio: .98;
    mask-image: linear-gradient(to right, transparent, #000 38%), linear-gradient(to bottom, transparent, #000 8% 90%, transparent);
    mask-composite: intersect;
  }
}
@media (max-width: 760px) {
  .cover-layout {
    --sky-height: clamp(10.2rem, 30vw, 12.5rem);
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-block: 1.45rem 1.6rem;
  }
  .cover-copy { display: contents; }
  .cover-identity, .cover-copy h1, .cover-intro, .cover-actions { position: relative; z-index: 1; }
  .cover-identity { font-size: .81rem; }
  .cover-copy h1 {
    display: grid;
    align-content: center;
    width: 64%;
    min-height: var(--sky-height);
    margin: .25rem 0 .65rem;
  }
  html:lang(zh) .cover-copy h1 { width: 68%; word-break: auto-phrase; }
  .cover-visual {
    inset: 1.45rem -1.25rem auto auto;
    width: min(50%, calc(var(--sky-height) + 1.25rem));
    height: calc(var(--sky-height) + 1.5rem);
  }
  .cover-image {
    width: 100%;
    aspect-ratio: auto;
    mask-image: linear-gradient(to right, transparent, #000 34%);
  }
  .cover-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, var(--cover-sky), transparent 12% 78%, var(--cover-sky));
  }
  .cover-intro { max-width: 35rem; }
  .cover-actions { margin-top: 1.15rem; }
  .cover-actions .solid { min-height: 44px; padding: .65rem 1.2rem; }
  .footer-lead { display: grid; gap: 1.8rem; }
  .footer-base { align-items: flex-start; flex-direction: column-reverse; }
}
@media (max-width: 400px) {
  .cover-identity { letter-spacing: .03em; }
  .cover-identity::before { flex-basis: 1.1rem; }
}

.viewer-tools { display: flex; align-items: center; justify-content: flex-end; gap: .6rem; margin-bottom: .5rem; }
.viewer-tools .viewer-close { order: 1; margin: 0; }
.viewer-scale {
  min-height: 44px; padding: .4rem .9rem; border: 1px solid #bdcddd; border-radius: 4px;
  font-size: .9rem; color: #284961; background: #fff;
}
.viewer-scale[aria-pressed="true"] { color: #123a68; background: #e5eff8; border-color: #7d9bb6; }
#image-viewer.has-original { width: min(95vw, 1350px); }
.has-original .viewer-stage { max-height: calc(92dvh - 8rem); overflow: auto; }
.has-original .viewer-image { width: auto; height: auto; max-height: calc(92dvh - 8rem); }
.has-original .viewer-stage.is-native .viewer-image { max-width: none; max-height: none; margin: 0; }
