:root {
  --bg: #fafafa;
  --bg-alt: #f3f3f3;
  --text: #141414;
  --text-muted: #5c5c5c;
  --line: #e6e6e6;
  --header-on-page: rgba(255, 255, 255, 0.97);
  --nav-on-hero: #ffffff;
  --nav-on-page: #141414;
  --shell: min(720px, calc(100% - 48px));
  --shell-wide: min(1280px, calc(100% - 32px));
  --header-h: 64px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-en: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-zh: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-formal-cn: "Noto Serif SC", "Songti SC", "SimSun", serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .site-nav a,
  .hover-rise,
  .lang__tap {
    transition: none !important;
  }

  .site-nav a::after {
    transition: none !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-en);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
}

body.page-home {
  min-height: 100dvh;
  overflow: hidden;
}

html[data-lang="zh"] body {
  font-family: var(--font-zh);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-underline-offset: 3px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.shell--contact {
  width: min(640px, calc(100% - 48px));
  max-width: 100%;
}

.shell--about {
  width: min(820px, calc(100% - 48px));
  max-width: 100%;
}

.about-charter {
  margin-top: 2rem;
  padding-bottom: 2rem;
  font-family: "Noto Sans SC", var(--font-en);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text);
}

.about-charter[data-show-lang] {
  display: none;
}

html[data-lang="zh"] .about-charter[data-show-lang="zh"],
html[data-lang="en"] .about-charter[data-show-lang="en"] {
  display: block;
}

.about-charter--en {
  font-family: var(--font-en);
}

.about-charter--en .about-charter__doc-title {
  font-family: var(--font-en);
  letter-spacing: 0.02em;
}

.about-charter--en .about-charter__section {
  font-family: var(--font-en);
}

.about-charter__doc-title {
  margin: 0 0 0.35rem;
  font-family: "Noto Serif SC", var(--font-formal-cn);
  font-size: clamp(1.35rem, 1.5vw + 1rem, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.3;
  color: var(--text);
}

.about-charter__subtitle {
  margin: 0 0 1.5rem;
  font-family: var(--font-en);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.about-charter__section {
  margin: 2rem 0 0.75rem;
  font-family: "Noto Sans SC", var(--font-en);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
  letter-spacing: 0.02em;
}

.about-charter__section:first-of-type {
  margin-top: 1.25rem;
}

.about-charter p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.about-charter p:last-child {
  margin-bottom: 0;
}

.shell-wide {
  width: var(--shell-wide);
  margin-inline: auto;
}

.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;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 0.5rem 1rem;
  background: var(--text);
  color: #fff;
  font-weight: 600;
  font-size: 0.875rem;
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
  z-index: 1000;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
  outline: 2px solid #000;
  outline-offset: 2px;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: var(--header-h);
  color: var(--nav-on-hero);
  transition: color 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.site-header.is-past-hero,
.site-header--inner {
  color: var(--nav-on-page);
  background: var(--header-on-page);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.site-header .shell-wide {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.header__bar {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-left: max(clamp(16px, 2vw, 28px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(52px, 9vw, 88px), env(safe-area-inset-right, 0px));
}

.site-brand {
  flex-shrink: 0;
  margin-left: 2px;
  margin-right: 0.35rem;
  font-family: var(--font-en);
  font-size: clamp(1.0625rem, 1.1vw + 0.85rem, 1.375rem);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
}

.site-brand:hover {
  text-decoration: none;
}

.site-brand:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.site-nav {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: stretch;
}

.site-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

@media (min-width: 821px) {
  .site-nav__list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: center;
    justify-items: center;
    width: 100%;
    max-width: 100%;
  }
}

@media (min-width: 821px) and (max-width: 1024px) {
  .site-nav a {
    font-size: 0.8125rem;
    letter-spacing: 0.11em;
  }

  html[data-lang="zh"] .site-nav a {
    font-size: 0.9375rem;
    letter-spacing: 0.08em;
  }
}

.site-nav a {
  position: relative;
  display: inline-block;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
  padding-block: 0.35rem;
  white-space: nowrap;
  transition:
    color 0.3s var(--ease-out),
    transform 0.35s var(--ease-out),
    text-shadow 0.35s ease,
    letter-spacing 0.4s var(--ease-out),
    filter 0.3s ease;
}

html[data-lang="zh"] .site-nav a {
  letter-spacing: 0.1em;
  text-transform: none;
  font-size: 1.0625rem;
  font-weight: 600;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  transform: translateX(-50%);
  border-radius: 2px;
  opacity: 0.95;
  transition: width 0.4s var(--ease-out);
  pointer-events: none;
}

.page-home .site-header:not(.is-past-hero) .site-nav a::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.5);
}

.site-header.is-past-hero .site-nav a::after,
.site-header--inner .site-nav a::after {
  background: linear-gradient(90deg, transparent, #111, transparent);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  transform: translateY(-3px);
  filter: brightness(1.08);
}

.page-home .site-header:not(.is-past-hero) .site-nav a:hover,
.page-home .site-header:not(.is-past-hero) .site-nav a:focus-visible {
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.75),
    0 0 42px rgba(255, 255, 255, 0.35);
  letter-spacing: 0.22em;
}

html[data-lang="zh"] .page-home .site-header:not(.is-past-hero) .site-nav a:hover,
html[data-lang="zh"] .page-home .site-header:not(.is-past-hero) .site-nav a:focus-visible {
  letter-spacing: 0.14em;
}

.site-header.is-past-hero .site-nav a:hover,
.site-header.is-past-hero .site-nav a:focus-visible,
.site-header--inner .site-nav a:hover,
.site-header--inner .site-nav a:focus-visible {
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.12);
  letter-spacing: 0.2em;
}

html[data-lang="zh"] .site-header--inner .site-nav a:hover,
html[data-lang="zh"] .site-header--inner .site-nav a:focus-visible {
  letter-spacing: 0.12em;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  width: 72%;
}

.site-nav a[aria-current="page"] {
  font-weight: 700;
}

.site-nav a[aria-current="page"]::after {
  width: 55%;
  opacity: 1;
}

.lang--compact {
  position: absolute;
  top: 50%;
  right: clamp(10px, 2vw, 20px);
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  border: none;
  background: none;
  box-shadow: none;
}

.lang__sep {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.45;
  user-select: none;
}

.lang__tap {
  margin: 0;
  padding: 0.2rem 0.25rem;
  border: none;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  cursor: pointer;
  line-height: 1;
  opacity: 0.55;
  transition:
    opacity 0.2s ease,
    color 0.2s ease,
    transform 0.25s var(--ease-out),
    text-shadow 0.25s ease;
}

.lang__tap:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.page-home .site-header:not(.is-past-hero) .lang__tap:hover {
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.65);
}

.lang__tap[aria-pressed="true"] {
  opacity: 1;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  color: inherit;
  cursor: pointer;
}

.site-header--inner .nav-toggle,
.site-header.is-past-hero .nav-toggle {
  border-color: var(--line);
  background: #fff;
}

.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle__bars::before,
.nav-toggle__bars::after {
  content: "";
  margin: 0;
}

.nav-toggle__bars::before {
  transform: translateY(-6px);
}

.nav-toggle__bars::after {
  transform: translateY(4px);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before {
  transform: translateY(0) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after {
  transform: translateY(-2px) rotate(-45deg);
}

@media (max-width: 820px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex: none;
    background: rgba(255, 255, 255, 0.98);
    color: var(--text);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1rem 1rem;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav__list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--line);
    letter-spacing: 0.14em;
  }

  html[data-lang="zh"] .site-nav a {
    letter-spacing: 0.06em;
  }

  .site-nav__list li:last-child a {
    border-bottom: none;
  }

  .site-nav a::after {
    display: none;
  }
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 1.5rem) 1rem 4.5rem;
}

.hero__media {
  position: absolute;
  inset: 0;
  background-color: #1a1a1a;
  background-image: url("../assets/hero-home.png?v=5");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.38) 0%,
      rgba(0, 0, 0, 0.22) 38%,
      rgba(0, 0, 0, 0.58) 100%
    ),
    radial-gradient(120% 80% at 50% 45%, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 42rem);
  margin-inline: auto;
}

.hero__org-cn {
  margin: 0 auto;
  font-family: var(--font-formal-cn);
  font-weight: 700;
  font-size: clamp(2rem, 5.5vw + 1.1rem, 4.25rem);
  line-height: 1.05;
  letter-spacing: 0.06em;
  color: #fff;
  white-space: nowrap;
  text-shadow:
    0 2px 28px rgba(0, 0, 0, 0.7),
    0 0 2px rgba(0, 0, 0, 0.9);
  cursor: default;
}

.hero__org-en {
  margin: 1.1rem auto 0;
  max-width: 36rem;
  font-family: var(--font-en);
  font-size: clamp(0.65rem, 1vw + 0.5rem, 0.8125rem);
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 18px rgba(0, 0, 0, 0.75);
  cursor: default;
}

html[data-lang="zh"] .hero__org-en {
  font-family: var(--font-en);
}

@media (max-width: 380px) {
  .hero__org-cn {
    font-size: clamp(1.45rem, 7.2vw, 1.85rem);
    letter-spacing: 0.04em;
  }
}

.hover-rise {
  transition:
    transform 0.45s var(--ease-out),
    text-shadow 0.4s ease,
    filter 0.35s ease,
    letter-spacing 0.45s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .hover-rise:hover {
    transform: scale(1.045) translateZ(0);
    filter: brightness(1.12) saturate(1.05);
  }

  .hero__org-cn.hover-rise:hover {
    letter-spacing: 0.1em;
    text-shadow:
      0 0 36px rgba(255, 255, 255, 0.55),
      0 0 72px rgba(255, 255, 255, 0.22),
      0 4px 32px rgba(0, 0, 0, 0.65);
  }

  .hero__org-en.hover-rise:hover {
    letter-spacing: 0.32em;
    color: #fff;
    text-shadow:
      0 0 24px rgba(255, 255, 255, 0.5),
      0 2px 20px rgba(0, 0, 0, 0.8);
  }
}

.hero__foot {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 4vh, 2rem);
  transform: translateX(-50%);
  z-index: 1;
  margin: 0;
  padding: 0 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.72);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.65);
  text-align: center;
  white-space: nowrap;
}

.page-main {
  padding: calc(var(--header-h) + 2.5rem) 0 4rem;
  min-height: 50vh;
}

.page-title {
  margin: 0 0 1rem;
  font-family: var(--font-en);
  font-size: clamp(1.75rem, 2vw + 1rem, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

html[data-lang="zh"] .page-title {
  font-family: var(--font-zh);
}

.page-lede {
  margin: 0;
  max-width: 52ch;
  font-size: 1.0625rem;
  color: var(--text-muted);
}

html[data-lang="zh"] .shell--about .page-lede {
  max-width: none;
  white-space: nowrap;
  overflow-x: auto;
}

.page-lede--contact {
  max-width: none;
  font-size: clamp(0.78rem, 1.35vw + 0.55rem, 0.875rem);
  line-height: 1.35;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

@media (max-width: 520px) {
  .page-lede--contact {
    white-space: normal;
    font-size: 0.8125rem;
  }
}

.crumb {
  margin: 0 0 1.25rem;
  font-size: 0.8125rem;
}

.crumb a {
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    letter-spacing 0.25s var(--ease-out);
}

.crumb a:hover {
  color: var(--text);
  border-color: var(--text);
  letter-spacing: 0.04em;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.site-footer__inner {
  text-align: center;
}

.site-footer__note {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.news-empty {
  margin: 2rem 0 0;
  padding: 1.25rem 1.35rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 8px;
  max-width: 42ch;
}

.news-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.news-list > li {
  margin: 0;
}

.crumb--row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
}

.crumb__sep {
  color: var(--text-muted);
  opacity: 0.55;
}

.news-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 0;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  color: inherit;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04);
}

a.news-card--link {
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.28s ease,
    border-color 0.2s ease,
    box-shadow 0.28s ease;
}

a.news-card--link:hover {
  transform: scale(1.02);
  border-color: #cfcfcf;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

a.news-card--link:focus-visible {
  outline: 2px solid #141414;
  outline-offset: 3px;
}

.news-card__media--placeholder {
  background: linear-gradient(145deg, #ececec 0%, #e0e0e0 48%, #ececec 100%);
}

.news-card__media {
  position: relative;
  width: 280px;
  height: 200px;
  flex-shrink: 0;
  background: #e8e8e8;
}

.news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.news-card__body {
  display: flex;
  flex-direction: column;
  padding: 1.35rem 1.5rem 1.15rem;
  gap: 0.65rem;
  min-height: 200px;
}

.news-card__title {
  margin: 0;
  font-family: var(--font-zh);
  font-size: clamp(1.05rem, 1.1vw + 0.85rem, 1.35rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--text);
}

html[data-lang="en"] .news-card__title {
  font-family: var(--font-zh);
}

.news-card__subtitle,
.news-card__excerpt {
  margin: 0;
  flex: 1;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.news-card__when {
  margin: 0;
  margin-top: auto;
  align-self: flex-end;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

html[data-lang="zh"] .news-card__when {
  letter-spacing: 0.02em;
}

@media (max-width: 640px) {
  .news-card {
    grid-template-columns: 1fr;
  }

  .news-card__media {
    width: 100%;
    height: 200px;
  }

  .news-card__body {
    min-height: 0;
  }
}

.news-detail__figure {
  margin: 1.5rem 0 1.25rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8e8e8;
}

.news-detail__figure img {
  width: 100%;
  height: auto;
  max-height: min(52vh, 480px);
  object-fit: cover;
  display: block;
}

.shell--article {
  max-width: 52rem;
}

.news-detail__title {
  margin: 0 0 0.5rem;
  font-family: var(--font-zh);
  font-size: clamp(1.2rem, 1.4vw + 1rem, 1.65rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--text);
}

.news-detail__subtitle {
  margin: 0 0 0.75rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.news-detail__when {
  margin: 0 0 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.news-detail__body {
  max-width: none;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
}

.news-detail__body[hidden] {
  display: none !important;
}

.news-detail__body p {
  margin: 0 0 1rem;
}

.news-detail__body p:last-child {
  margin-bottom: 0;
}

.news-detail__inline-figure {
  margin: 1.25rem 0 1.5rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #e8e8e8;
}

.news-detail__inline-figure img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.news-detail__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.news-detail__gallery-btn {
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #e8e8e8;
  cursor: zoom-in;
  display: block;
  width: 100%;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.news-detail__gallery-btn:hover {
  border-color: #cfcfcf;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.news-detail__gallery-btn:focus-visible {
  outline: 2px solid #141414;
  outline-offset: 3px;
}

.news-detail__gallery-btn img {
  width: 100%;
  height: 100%;
  min-height: 160px;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox[hidden] {
  display: none !important;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.82);
  cursor: zoom-out;
}

.lightbox__dialog {
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1200px);
  max-height: 92vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__img {
  max-width: 100%;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}

.lightbox__close {
  position: absolute;
  top: -2.75rem;
  right: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease;
}

.lightbox__close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.lightbox__close:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .news-detail__gallery {
    grid-template-columns: 1fr;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox__close {
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.5);
  }
}

.contact-success {
  margin: 0 0 1.75rem;
  padding: 0.9rem 1rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: #14532d;
  background: #ecfdf3;
  border: 1px solid #bbf7d0;
  border-radius: 6px;
}

.contact-success[hidden] {
  display: none !important;
}

.contact-form {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-field__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}

html[data-lang="zh"] .contact-field__label {
  font-weight: 600;
}

.contact-field__input,
.contact-field__textarea {
  width: 100%;
  margin: 0;
  padding: 0.85rem 0.95rem;
  font-family: inherit;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--text);
  background: #fff;
  border: 1px solid #d2d2d2;
  border-radius: 4px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-field__input::placeholder,
.contact-field__textarea::placeholder {
  color: rgba(20, 20, 20, 0.35);
  opacity: 1;
}

.contact-field__input--optional::placeholder {
  color: rgba(20, 20, 20, 0.14);
  opacity: 1;
}

.contact-field__input:hover,
.contact-field__textarea:hover {
  border-color: #b5b5b5;
}

.contact-field__input:focus,
.contact-field__textarea:focus {
  outline: none;
  border-color: #141414;
  box-shadow: 0 0 0 1px #141414;
}

.contact-field__textarea {
  min-height: 220px;
  resize: vertical;
}

.contact-submit {
  align-self: flex-start;
  margin-top: 0.25rem;
  padding: 0.9rem 1.75rem;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  background: #141414;
  border: 1px solid #141414;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, opacity 0.15s ease;
}

.contact-submit:hover {
  background: #2a2a2a;
  border-color: #2a2a2a;
}

.contact-submit:focus-visible {
  outline: 2px solid #141414;
  outline-offset: 3px;
}
