.links-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: white;
}

.links-page main { flex: 1; }
.links-page :is(main, footer) a:focus-visible { outline-color: var(--green-light); }
.links-page:lang(zh) { font-family: Manrope, "PingFang SC", "Microsoft YaHei", sans-serif; }

.links-header { background: white; color: var(--ink); }
.links-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: clamp(76px, 7.1vw, 108px);
}
.links-brand { width: clamp(205px, 22vw, 334px); }
.links-brand img { width: 100%; }
.language-switch { display: flex; align-items: center; gap: clamp(14px, 2.6vw, 40px); }
.language-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: clamp(15px, 1.5vw, 23px);
  font-weight: 600;
}
.language-switch a:hover,
.language-switch [aria-current] {
  color: var(--green-link);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 7px;
}

.channel {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: clamp(370px, 41vw, 650px);
  background: #111615;
}
.channel-photo {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.channel-content { padding: clamp(32px, 4.5vw, 68px) 0; }
.channel-copy { width: 55%; padding-inline-start: clamp(0px, 2.5vw, 40px); }
.channel h1 {
  font-size: clamp(40px, 5.35vw, 84px);
  letter-spacing: -.032em;
  line-height: 1.02;
}
.channel h1 span { display: block; }
.channel-handle {
  margin-top: .35em;
  color: var(--green-light);
  font-size: clamp(22px, 2.5vw, 38px);
  font-weight: 700;
  line-height: 1.25;
}
.channel-intro {
  max-width: 39ch;
  text-wrap: balance;
  margin-top: .58em;
  font-size: clamp(17px, 1.85vw, 28px);
  line-height: 1.4;
}
.channel-link {
  min-height: 46px;
  margin-top: clamp(20px, 2vw, 30px);
  padding: .54em 1.1em;
  background: var(--green-light);
  font-size: clamp(17px, 2vw, 30px);
}
.channel-link .arrow { width: 1em; height: 1em; }

.destinations { border-block: 1px solid var(--line); }
.destination-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.destination {
  position: relative;
  display: block;
  padding: clamp(24px, 2.4vw, 38px) clamp(28px, 3.4vw, 52px);
}
.destination:first-child { padding-inline-start: 0; }
.destination + .destination { border-inline-start: 1px solid var(--line); padding-inline-end: 0; }
.destination-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: clamp(26px, 3.25vw, 50px);
}
.destination-heading em { font-style: normal; color: var(--green-light); }
.destination .arrow { width: .85em; height: .85em; color: var(--green-light); }
.destination p {
  max-width: 38ch;
  text-wrap: pretty;
  margin-top: .45em;
  color: var(--muted);
  font-size: clamp(16px, 1.75vw, 26px);
  line-height: 1.4;
}
.destination:hover h2 > span,
.destination:focus-visible h2 > span { text-decoration: underline; text-underline-offset: .12em; }
.destination:hover .arrow { transform: translate(2px, -2px); }
.destination:focus-visible { outline-offset: -3px; }

.links-footer { color: var(--muted); font-size: clamp(13px, 1.1vw, 17px); }
.links-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 20px;
  padding-block: 12px;
}
.links-footer nav { display: flex; gap: 24px; }
.links-footer a { display: inline-flex; align-items: center; min-height: 44px; }
.links-footer a:hover { text-decoration: underline; }

@media (min-width: 1650px) {
  .channel-photo {
    inset-inline: 0;
    margin-inline: auto;
    width: min(100%, 1800px);
    mask-image: linear-gradient(to right, transparent, black 12%, black 88%, transparent);
  }
}
@media (max-width: 720px) {
  .links-bar { padding-block: 8px; }
  .channel-copy { padding: 0; width: 62%; }
  .channel { min-height: 340px; }
  .channel-photo {
    inset-inline-start: auto;
    width: 40%;
    object-position: 76% center;
    mask-image: linear-gradient(to right, transparent, black 22%);
  }
  .destination-list { grid-template-columns: 1fr; }
  .destination, .destination + .destination { padding: 18px 0; border-inline: 0; }
  .destination + .destination { border-top: 1px solid var(--line); }
  .destination p { max-width: 46ch; }
}
@media (max-width: 530px) {
  .links-bar { flex-direction: column; gap: 0; padding: 8px 0 2px; }
  .links-brand { width: 174px; }
  .language-switch { gap: 24px; }
  .channel-content { padding-block: 26px; }
  .channel h1 { font-size: clamp(29px, 7.9vw, 40px); }
  .channel-copy { width: 65%; }
  .channel-intro { font-size: 16px; }
  .channel-handle { font-size: 20px; }
  .channel-link { gap: 12px; }
}
@media (max-width: 359px) {
  .channel { min-height: 304px; }
  .channel-copy { width: 68%; }
  .channel-photo { width: 35%; object-position: 74% center; }
}
@media (prefers-reduced-motion: reduce) {
  .links-page .arrow, .links-page .button { transition: none; transform: none; }
}
