:root {
  --ink: #0a0a0a;
  --ink-soft: #2c2c2c;
  --brand-red: #f01010;
  --brand-red-deep: #c40d0d;
  --brand-yellow: #f0c000;
  --brand-yellow-soft: #ffd84a;
  --paper: #ffffff;
  --paper-soft: #f5f5f5;
  --mist: rgba(255, 255, 255, 0.92);
  --line: rgba(10, 10, 10, 0.12);
  --focus: #f0c000;
  --font-display: "Oswald", "Noto Sans SC", sans-serif;
  --font-body: "Sora", "Noto Sans SC", sans-serif;
  --space: clamp(1rem, 2.5vw, 2rem);
  --max: 1120px;
  --header-h: 4.5rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  background:
    radial-gradient(1100px 520px at 8% -12%, rgba(240, 16, 16, 0.1), transparent 58%),
    radial-gradient(900px 480px at 100% 0%, rgba(240, 192, 0, 0.16), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--paper-soft) 55%, #f0f0f0 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.4;
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  z-index: 0;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--brand-red-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--brand-red);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: var(--header-h);
  display: flex;
  align-items: center;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.section-inner,
.footer-inner {
  width: min(var(--max), calc(100% - 2 * var(--space)));
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.brand-logo {
  width: auto;
  height: 3.1rem;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 100%;
  height: 2px;
  background: var(--brand-red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav a[aria-current="page"] {
  color: var(--ink);
}

.lang-switch {
  display: inline-flex;
  gap: 0.25rem;
  margin-left: 0.4rem;
  padding-left: 0.7rem;
  border-left: 1px solid var(--line);
}

.lang-switch button {
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1.15rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.3rem 0.35rem;
  border-radius: 0.35rem;
  opacity: 0.55;
  transition: opacity 0.15s ease, background 0.15s ease;
}

.lang-switch button:hover {
  opacity: 0.85;
}

.lang-switch button[aria-pressed="true"] {
  opacity: 1;
  background: color-mix(in srgb, var(--brand-red) 12%, transparent);
}

main {
  position: relative;
  z-index: 1;
}

.page {
  display: none;
  animation: rise 0.55s ease both;
}

.page.is-active {
  display: block;
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero {
  min-height: calc(100vh - var(--header-h));
  display: grid;
  place-items: end start;
  position: relative;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(120deg, rgba(10, 10, 10, 0.72), rgba(192, 13, 13, 0.42)),
    url("../assets/hero.jpg") center / cover no-repeat;
  transform: scale(1.04);
  animation: kenburns 18s ease-in-out infinite alternate;
}

@keyframes kenburns {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(
      180deg,
      rgba(10, 10, 10, 0.12) 0%,
      rgba(10, 10, 10, 0.55) 55%,
      rgba(10, 10, 10, 0.88) 100%
    ),
    linear-gradient(90deg, rgba(240, 16, 16, 0.22), transparent 55%);
}

.hero-content {
  width: min(var(--max), calc(100% - 2 * var(--space)));
  margin: 0 auto;
  padding: clamp(3rem, 10vh, 6rem) 0 clamp(2.5rem, 8vh, 4.5rem);
}

.hero-logo {
  width: min(11rem, 42vw);
  height: auto;
  margin: 0 0 1.1rem;
  border-radius: 2px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  animation: rise 0.8s ease both;
  background: #fff;
}

.hero h1 {
  margin: 0 0 0.9rem;
  max-width: 16ch;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.8vw, 3.2rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  animation: rise 0.9s ease 0.08s both;
}

.hero-lead {
  margin: 0 0 1.6rem;
  max-width: 38ch;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.92);
  animation: rise 1s ease 0.14s both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  animation: rise 1.05s ease 0.2s both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0.7rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--brand-red);
  color: #fff;
}

.btn-primary:hover {
  background: var(--brand-red-deep);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.65);
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(240, 192, 0, 0.18);
  border-color: var(--brand-yellow);
  color: #fff;
}

.section {
  padding: clamp(3rem, 8vw, 5.5rem) 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-kicker {
  margin: 0 0 0.55rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand-red);
  font-weight: 600;
}

.section h1,
.section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.1;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-lead {
  margin: 0 0 1.8rem;
  max-width: 58ch;
  color: var(--ink-soft);
}

.about-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 860px) {
  .about-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: start;
  }
}

.about-copy p {
  margin: 0 0 1rem;
  max-width: 60ch;
}

.goals {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.goals li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink-soft);
}

.goals li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 1px;
  background: var(--brand-yellow);
  box-shadow: inset 0 0 0 1px rgba(10, 10, 10, 0.15);
}

.activity-list {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 760px) {
  .activity-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.activity-item h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.activity-item p {
  margin: 0;
  color: var(--ink-soft);
}

.social-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 1.1rem;
  max-width: 40rem;
}

.social-list li {
  display: grid;
  gap: 0.2rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}

.social-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.social-name {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-red);
  font-weight: 600;
}

.social-value {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

a.social-value:hover,
button.social-value:hover {
  color: var(--brand-red);
}

button.social-value {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.wechat-dialog {
  width: min(22rem, calc(100vw - 2rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 18px 48px rgba(10, 10, 10, 0.28);
}

.wechat-dialog::backdrop {
  background: rgba(10, 10, 10, 0.55);
  backdrop-filter: blur(2px);
}

.wechat-dialog-panel {
  display: grid;
  gap: 0.85rem;
  padding: 1rem 1rem 1.15rem;
}

.wechat-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.wechat-dialog-header h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.wechat-dialog-close {
  margin: 0;
  padding: 0.35rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 0.25rem;
  background: var(--paper-soft);
  color: var(--ink-soft);
  font: inherit;
  font-size: 0.9rem;
  cursor: pointer;
}

.wechat-dialog-close:hover {
  color: var(--brand-red);
  border-color: rgba(240, 16, 16, 0.35);
}

.wechat-qr {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

.news-list {
  display: grid;
  gap: 1.75rem;
}

.news-item {
  display: grid;
  gap: 0.45rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.news-thumb {
  width: min(100%, 28rem);
  max-height: 12rem;
  object-fit: cover;
  border-radius: 2px;
}

.news-figure {
  margin: 0 0 1.25rem;
}

.news-image {
  display: block;
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
  border-radius: 2px;
}

.news-image-credit {
  margin: 0.45rem 0 0;
  font-size: 0.82rem;
  color: var(--ink-soft);
}

.news-draft-banner {
  margin: 0 0 1rem;
  padding: 0.65rem 0.85rem;
  border-left: 3px solid var(--brand-red);
  background: color-mix(in srgb, var(--brand-red) 10%, transparent);
  font-weight: 600;
}

.news-source {
  margin-top: 1.5rem;
  font-size: 0.92rem;
}

.news-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.news-date {
  font-size: 0.88rem;
  letter-spacing: 0.04em;
  color: var(--brand-red);
  font-weight: 600;
}

.news-item h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.news-item h3 a {
  color: inherit;
  text-decoration: none;
}

.news-item h3 a:hover {
  color: var(--brand-red);
}

.news-summary {
  margin: 0;
  max-width: 70ch;
  color: var(--ink-soft);
}

.article {
  max-width: 68ch;
}

.article .news-date {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.article h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.article p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.article p a,
.article .news-source a,
.page-prose a {
  color: var(--brand-red-deep);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.page-prose h2 {
  margin: 1.75rem 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.6vw, 1.65rem);
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.page-prose ul {
  margin: 0 0 1rem;
  padding-left: 1.2rem;
  color: var(--ink-soft);
}

.page-prose li {
  margin: 0 0 0.55rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

.contact-layout {
  display: grid;
  gap: 1.5rem;
  max-width: 640px;
}

.form {
  display: grid;
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-weight: 600;
  font-size: 0.95rem;
}

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.85);
  color: var(--ink);
  font: inherit;
  padding: 0.8rem 0.9rem;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand-yellow);
  box-shadow: 0 0 0 3px rgba(240, 192, 0, 0.28);
}

.field textarea {
  min-height: 160px;
  resize: vertical;
}

.captcha-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
}

.captcha-question {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  min-width: 4.5rem;
}

.captcha-row input[type="text"] {
  width: 5.5rem;
  flex: 0 0 auto;
}

.captcha-refresh {
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
}

.form .btn-ghost {
  color: var(--ink);
  border-color: var(--line);
}

.form .btn-ghost:hover {
  background: rgba(240, 192, 0, 0.12);
  border-color: var(--brand-yellow);
  color: var(--ink);
}

.form-status {
  min-height: 1.4rem;
  margin: 0;
  font-weight: 600;
}

.form-status.is-ok {
  color: #1a7a32;
}

.form-status.is-error {
  color: var(--brand-red-deep);
}

.site-footer {
  position: relative;
  z-index: 1;
  border-top: 3px solid var(--brand-red);
  box-shadow: inset 0 3px 0 var(--brand-yellow);
  padding: 2rem 0 2.5rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
  background: #fff;
}

.footer-inner {
  display: grid;
  gap: 0.35rem;
}

.footer-logo {
  width: 4.5rem;
  height: auto;
  margin-bottom: 0.55rem;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  margin: 0.25rem 0 0.65rem;
}

.footer-nav a {
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  color: var(--brand-red);
  text-decoration: underline;
}

.article-trail {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.article-trail a {
  color: var(--brand-red);
  text-decoration: none;
  font-weight: 500;
}

.article-trail a:hover,
.article-trail a:focus-visible {
  text-decoration: underline;
}

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

@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    padding-block: 0.65rem;
  }

  .site-header {
    height: auto;
  }

  .brand-logo {
    height: 2.7rem;
  }

  .nav {
    width: 100%;
    justify-content: flex-start;
  }

  .lang-switch {
    margin-left: 0;
    padding-left: 0;
    border-left: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .hero-media {
    transform: none;
  }
}
