@charset "utf-8";

@font-face {
  font-family: "PreviewDin";
  src: url("../fonts/dinBlack.woff") format("woff");
  font-display: swap;
}

@font-face {
  font-family: "PreviewAvr";
  src: url("../fonts/avrnir.woff") format("woff");
  font-display: swap;
}

:root {
  --wine-black: #15080b;
  --wine-deep: #2a0608;
  --wine: #700508;
  --red-soft: #a8281f;
  --gold: #f1a43d;
  --gold-soft: #f4dfae;
  --paper: #f7efe2;
  --muted: rgba(247, 239, 226, .72);
  --line: rgba(244, 223, 174, .28);
  --panel: rgba(32, 8, 10, .72);
  --shadow: 0 24px 64px rgba(0, 0, 0, .32);
  --motion-ease: cubic-bezier(.16, 1, .3, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--paper);
  background: var(--wine-black);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Microsoft YaHei", "PingFang SC", serif;
  letter-spacing: 0;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--wine-black);
  transform: translateY(-150%);
  transition: transform .2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 14px 20px;
  color: var(--paper);
  transition: background .24s ease, box-shadow .24s ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
  background: rgba(21, 8, 11, .92);
  box-shadow: 0 14px 44px rgba(0, 0, 0, .28);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(244, 223, 174, .78);
  border-radius: 50%;
  background: rgba(112, 5, 8, .78);
  color: var(--gold-soft);
  font: 900 15px/1 PreviewDin, Impact, sans-serif;
}

.brand-text {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.brand-text strong {
  max-width: 220px;
  overflow: hidden;
  color: var(--paper);
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-text em {
  display: none;
}

.nav-toggle {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(244, 223, 174, .42);
  border-radius: 50%;
  background: rgba(247, 239, 226, .08);
  color: var(--paper);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  margin: 3px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.top-nav {
  position: fixed;
  left: 0;
  right: 0;
  top: 76px;
  display: grid;
  gap: 0;
  padding: 8px 22px 24px;
  background: rgba(21, 8, 11, .96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, .36);
  transform: translateY(-140%);
  visibility: hidden;
  transition: transform .24s ease, visibility .24s ease;
}

body.nav-open .top-nav {
  transform: translateY(0);
  visibility: visible;
}

.top-nav a {
  position: relative;
  padding: 15px 2px;
  border-bottom: 1px solid rgba(244, 223, 174, .16);
  color: rgba(247, 239, 226, .84);
  font-size: 16px;
}

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

.home-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  padding: 104px 22px 28px;
  background: var(--wine);
}

.hero-image {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(21, 8, 11, .96) 0%, rgba(112, 5, 8, .94) 52%, rgba(168, 40, 31, .72) 100%),
    url("../images/bg2.jpg") center/cover no-repeat;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 54% 62%, rgba(244, 223, 174, .18), transparent 0 1px, transparent 56%),
    linear-gradient(90deg, rgba(244, 223, 174, .045) 1px, transparent 1px),
    linear-gradient(rgba(244, 223, 174, .04) 1px, transparent 1px);
  background-size: auto, 38px 38px, 38px 38px;
}

.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  background-image:
    linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 3px 3px;
}

.orbit-field {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 122vw;
  max-width: 560px;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: .42;
}

.orbit-field span {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(244, 223, 174, .18);
  border-radius: 50%;
}

.orbit-field span:nth-child(1) {
  animation: slowTurn 22s linear infinite;
}

.orbit-field span:nth-child(2) {
  inset: 13%;
  border-color: rgba(244, 223, 174, .23);
  animation: slowTurnReverse 30s linear infinite;
}

.orbit-field span:nth-child(3) {
  inset: 26%;
  border-color: rgba(244, 223, 174, .2);
}

.hero-main {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.home-hero h1 {
  max-width: 100%;
  margin: 0;
  color: var(--gold-soft);
  font-size: clamp(30px, 8.8vw, 46px);
  font-weight: 900;
  line-height: 1.12;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
  text-shadow: 0 18px 46px rgba(0, 0, 0, .34);
}

.home-hero h1 span {
  display: block;
}

.hero-en {
  display: block;
  width: 100%;
  margin: 14px 0 0;
  color: var(--gold-soft);
  font: 800 12px/1.55 PreviewAvr, "Microsoft YaHei", sans-serif;
  text-align: center;
  white-space: nowrap;
  overflow-wrap: normal;
  text-transform: uppercase;
}

.hero-en span {
  display: block;
  width: 100%;
  text-align: center;
}

.event-meta {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 28px 0 0;
}

.event-meta span {
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(247, 239, 226, .92);
  font-size: 15px;
  line-height: 1.5;
}

.event-meta span:first-child {
  color: var(--gold-soft);
  font: 900 18px/1.2 PreviewDin, Impact, sans-serif;
}

.theme-copy {
  max-width: 980px;
  margin: 34px auto 0;
  color: rgba(247, 239, 226, .86);
  font-size: 16px;
  line-height: 1.85;
  text-align: left;
  text-indent: 2em;
}

.theme-copy + .theme-copy {
  margin-top: 8px;
}

.service-team {
  max-width: 980px;
  margin: 20px auto 0;
  padding-left: 4em;
  color: rgba(244, 223, 174, .82);
  text-align: left;
}

.service-team-label {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--gold-soft);
  font: 800 12px/1.4 PreviewAvr, "Microsoft YaHei", sans-serif;
  letter-spacing: .08em;
  vertical-align: top;
}

.service-team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-left: 0;
}

.service-team-list span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(244, 223, 174, .24);
  border-radius: 999px;
  background: rgba(247, 239, 226, .07);
  color: rgba(247, 239, 226, .92);
  font-size: 14px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.primary-link,
.ghost-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 15px;
  transition: transform .2s ease;
}

.primary-link {
  background: var(--gold);
  color: #301507;
  font-weight: 800;
}

.ghost-link {
  border: 1px solid rgba(244, 223, 174, .42);
  color: var(--gold-soft);
}

.primary-link:hover,
.ghost-link:hover {
  transform: translateY(-2px);
}

.hero-side {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 900px;
  margin: 40px auto 0;
}

.portal-nav {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}

.hero-side .portal-nav {
  max-width: none;
  margin: 0;
}

.portal {
  position: relative;
  display: grid;
  min-height: 64px;
  grid-template-columns: 40px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  overflow: hidden;
  padding: 18px 18px;
  border: 1px solid rgba(244, 223, 174, .28);
  background:
    linear-gradient(120deg, rgba(112, 5, 8, .74), rgba(21, 8, 11, .58)),
    var(--panel);
  box-shadow: 0 14px 36px rgba(0, 0, 0, .16);
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.portal::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom center;
  transition: transform .22s ease;
}

.portal::after {
  content: "";
  position: absolute;
  right: -42px;
  bottom: -54px;
  width: 132px;
  height: 132px;
  border: 1px solid rgba(244, 223, 174, .14);
  border-radius: 50%;
}

.portal:hover,
.portal:focus-visible {
  transform: translate3d(0, -5px, 0);
  border-color: rgba(244, 223, 174, .58);
  background:
    linear-gradient(90deg, rgba(168, 40, 31, .9), rgba(21, 8, 11, .74)),
    var(--panel);
}

.portal:hover::before,
.portal:focus-visible::before {
  transform: scaleY(1);
}

.portal-index {
  color: rgba(244, 223, 174, .5);
  font: 900 20px/1 PreviewDin, Impact, sans-serif;
}

.portal strong {
  display: block;
  color: var(--paper);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .04em;
}

.portal em {
  display: none;
  margin-top: 4px;
  color: rgba(244, 223, 174, .62);
  font: 700 10px/1.2 PreviewAvr, "Microsoft YaHei", sans-serif;
  font-style: normal;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  max-width: 760px;
  margin: 22px auto 0;
  flex-wrap: wrap;
  gap: 8px 16px;
  color: rgba(247, 239, 226, .56);
  font-size: 12px;
}

@keyframes slowTurn {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes slowTurnReverse {
  from { transform: rotate(360deg); }
  to { transform: rotate(0deg); }
}

@keyframes mobileEnter {
  from {
    opacity: 0;
    translate: 0 22px;
    filter: blur(6px);
  }
  to {
    opacity: 1;
    translate: 0 0;
    filter: blur(0);
  }
}

@keyframes mobileHeaderEnter {
  from {
    opacity: 0;
    translate: 0 -14px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@keyframes mobileOrbitEnter {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.92);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes homeBackdropReveal {
  from {
    opacity: 0;
    filter: saturate(.82) brightness(.78);
  }
  to {
    opacity: 1;
    filter: saturate(1) brightness(1);
  }
}

@keyframes homeHeaderReveal {
  from {
    opacity: 0;
    translate: 0 -18px;
    filter: blur(5px);
  }
  to {
    opacity: 1;
    translate: 0 0;
    filter: blur(0);
  }
}

@keyframes homeElementReveal {
  from {
    opacity: 0;
    translate: 0 28px;
    scale: .985;
    filter: blur(8px);
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    filter: blur(0);
  }
}

@keyframes homePanelReveal {
  from {
    opacity: 0;
    translate: 0 34px;
    scale: .97;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    translate: 0 0;
    scale: 1;
    filter: blur(0);
  }
}

@keyframes homeAtmosphereReveal {
  from {
    opacity: 0;
    filter: blur(10px);
  }
  to {
    opacity: 1;
    filter: blur(0);
  }
}

@media (max-width: 759px) {
  .home-hero {
    min-height: auto;
    padding: 92px 16px 28px;
  }

  .hero-main,
  .hero-side,
  .portal-nav {
    max-width: 100%;
  }

  .home-hero h1 {
    font-size: clamp(28px, 9vw, 38px);
    line-height: 1.18;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .hero-en {
    font-size: clamp(10px, 2.7vw, 12px);
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .event-meta {
    margin-top: 22px;
  }

  .theme-copy {
    margin-top: 28px;
    font-size: 15px;
    line-height: 1.78;
    text-indent: 2em;
  }

  .theme-copy + .theme-copy {
    margin-top: 10px;
  }

  .service-team {
    padding-left: 2em;
    font-size: 14px;
  }

  .service-team-list span {
    min-height: 32px;
    padding: 0 12px;
    font-size: 13px;
  }

  .portal-nav {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .portal {
    min-height: 58px;
    padding: 14px 16px;
  }

  .portal strong {
    font-size: 17px;
  }

  .site-header .brand,
  .nav-toggle {
    opacity: 0;
    animation: mobileHeaderEnter .86s cubic-bezier(.2, .75, .25, 1) both;
  }

  .nav-toggle {
    animation-delay: .12s;
  }

  .hero-image,
  .grain {
    animation: homeBackdropReveal 1.28s ease both;
  }

  .orbit-field {
    opacity: 0;
    animation: mobileOrbitEnter 1.32s cubic-bezier(.2, .75, .25, 1) .22s both;
  }

  .home-hero h1,
  .hero-en,
  .event-meta,
  .theme-copy,
  .service-team,
  .portal,
  .home-footer {
    opacity: 0;
    animation: mobileEnter 1.05s cubic-bezier(.2, .75, .25, 1) both;
  }

  .home-hero h1 {
    animation-delay: .18s;
  }

  .hero-en {
    animation-delay: .34s;
  }

  .event-meta {
    animation-delay: .48s;
  }

  .theme-copy {
    animation-delay: .62s;
  }

  .service-team {
    animation-delay: .76s;
  }

  .portal:nth-child(1) {
    animation-delay: .96s;
  }

  .portal:nth-child(2) {
    animation-delay: 1.08s;
  }

  .portal:nth-child(3) {
    animation-delay: 1.20s;
  }

  .portal:nth-child(4) {
    animation-delay: 1.32s;
  }

  .portal:nth-child(5) {
    animation-delay: 1.44s;
  }

  .portal:nth-child(6) {
    animation-delay: 1.56s;
  }

  .home-footer {
    animation-delay: 1.68s;
  }
}

@media (min-width: 760px) and (prefers-reduced-motion: no-preference) {
  .hero-image,
  .grain,
  .orbit-field {
    opacity: 0;
    animation: homeAtmosphereReveal 1.35s ease both;
  }

  .hero-image {
    animation-name: homeBackdropReveal;
  }

  .grain {
    animation-delay: .14s;
  }

  .orbit-field {
    animation-delay: .24s;
  }

  .site-header .brand,
  .top-nav a,
  .home-hero h1,
  .hero-en,
  .event-meta,
  .theme-copy,
  .service-team,
  .portal,
  .home-footer {
    opacity: 0;
    animation: homeElementReveal 1.18s cubic-bezier(.16, 1, .3, 1) both;
  }

  .site-header .brand,
  .top-nav a {
    animation-name: homeHeaderReveal;
  }

  .top-nav a:nth-child(1) {
    animation-delay: .08s;
  }

  .top-nav a:nth-child(2) {
    animation-delay: .14s;
  }

  .top-nav a:nth-child(3) {
    animation-delay: .20s;
  }

  .top-nav a:nth-child(4) {
    animation-delay: .26s;
  }

  .top-nav a:nth-child(5) {
    animation-delay: .32s;
  }

  .top-nav a:nth-child(6) {
    animation-delay: .38s;
  }

  .top-nav a:nth-child(7) {
    animation-delay: .44s;
  }

  .home-hero h1 {
    animation-delay: .18s;
  }

  .hero-en {
    animation-delay: .34s;
  }

  .event-meta {
    animation-delay: .48s;
  }

  .theme-copy {
    animation-delay: .62s;
  }

  .service-team {
    animation-delay: .76s;
  }

  .portal:nth-child(1) {
    animation-name: homePanelReveal;
    animation-delay: .96s;
  }

  .portal:nth-child(2) {
    animation-name: homePanelReveal;
    animation-delay: 1.08s;
  }

  .portal:nth-child(3) {
    animation-name: homePanelReveal;
    animation-delay: 1.20s;
  }

  .portal:nth-child(4) {
    animation-name: homePanelReveal;
    animation-delay: 1.32s;
  }

  .portal:nth-child(5) {
    animation-name: homePanelReveal;
    animation-delay: 1.44s;
  }

  .portal:nth-child(6) {
    animation-name: homePanelReveal;
    animation-delay: 1.56s;
  }

  .home-footer {
    animation-delay: 1.68s;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (min-width: 760px) {
  .site-header {
    min-height: 86px;
    padding: 18px 42px;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
    font-size: 18px;
  }

  .brand-text strong {
    max-width: none;
    font-size: 18px;
  }

  .brand-text em {
    display: block;
    color: rgba(244, 223, 174, .72);
    font: 700 10px/1.2 PreviewAvr, "Microsoft YaHei", sans-serif;
    font-style: normal;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .home-hero {
    min-height: 100vh;
    padding: 126px 42px 36px;
  }

  .portal-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
  }
}

@media (max-width: 420px) {
  .home-hero h1 {
    font-size: 32px;
    line-height: 1.16;
    white-space: normal;
    word-break: keep-all;
  }

  .hero-en {
    white-space: normal;
    line-height: 1.45;
  }
}

@media (min-width: 1120px) {
  .site-header {
    justify-content: flex-end;
  }

  .nav-toggle {
    display: none;
  }

  .brand {
    display: none;
  }

  .top-nav {
    position: static;
    display: flex;
    gap: 24px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    visibility: visible;
  }

  .top-nav a {
    padding: 8px 0;
    border-bottom: 0;
    font-size: 15px;
    white-space: nowrap;
  }

  .top-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .2s ease;
  }

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

  .home-hero {
    display: block;
    min-height: 100vh;
    padding: 108px 58px 24px;
  }

  .orbit-field {
    left: 50%;
    right: auto;
    top: 52%;
    width: min(62vw, 760px);
    max-width: none;
    transform: translate(-50%, -50%);
  }

  .hero-main {
    width: 100%;
    max-width: 1040px;
    margin: 0 auto;
  }

  .home-hero h1 {
    font-size: clamp(40px, 3.2vw, 54px);
  }

  .hero-en {
    margin-top: 12px;
    font-size: 14px;
  }

  .event-meta {
    margin-top: 28px;
  }

  .event-meta span {
    font-size: 17px;
  }

  .event-meta span:first-child {
    font-size: 20px;
  }

  .theme-copy {
    margin-top: 30px;
    font-size: 18px;
    line-height: 1.82;
  }

  .service-team {
    margin-top: 18px;
  }

  .service-team-list {
    gap: 10px 12px;
  }

  .hero-side {
    width: 100%;
    max-width: 900px;
    margin: 32px auto 0;
    gap: 14px;
  }

  .portal-nav {
    width: 100%;
    max-width: 900px;
    margin: 0;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px 70px;
  }

  .portal {
    min-height: 76px;
    padding: 20px 22px;
  }

  .portal strong {
    font-size: 24px;
  }

  .portal em {
    margin-top: 10px;
    font-size: 12px;
  }

  .home-footer {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: 900px;
    margin-top: 20px;
  }
}
