/* ══════════════════════════════════════════════════════════════
   EVR 圆形菜单 Hero —— 设计令牌
   ══════════════════════════════════════════════════════════════ */

:root {
  /* 纯黑白 */
  --evr-bg:   #000000;
  --evr-fg:   #ffffff;

  /* 透明度层级 */
  --evr-fg-10: rgba(255, 255, 255, 0.10);
  --evr-fg-15: rgba(255, 255, 255, 0.15);
  --evr-fg-30: rgba(255, 255, 255, 0.30);
  --evr-fg-40: rgba(255, 255, 255, 0.40);
  --evr-fg-50: rgba(255, 255, 255, 0.50);
  --evr-fg-70: rgba(255, 255, 255, 0.70);
  --evr-bg-10: rgba(0, 0, 0, 0.10);

  /* 渐变 CTA */
  --evr-grad-from: hsl(220, 70%, 78%);
  --evr-grad-to:   hsl( 40, 80%, 82%);

  /* 字体 */
  --evr-font:       'Geist', ui-sans-serif, system-ui, sans-serif;
  --evr-font-disp:  'Gilda Display', Georgia, serif;

  /* 动画 */
  --evr-clip-open:  circle(150% at 80px 40px);
  --evr-clip-shut:  circle(0% at 80px 40px);
  --evr-ease-menu:  cubic-bezier(0.76, 0, 0.24, 1);
  --evr-ease-link:  cubic-bezier(0.25, 1, 0.5, 1);
  --evr-dur-menu:   700ms;
}

@keyframes evr-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ══════════════════════════════════════════════════════════════
   EVR 圆形菜单 Hero —— 样式
   ══════════════════════════════════════════════════════════════ */

/* ── 字体 ── */
@font-face { font-family: 'Geist'; src: url('/fonts/evr/Geist.woff2') format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: 'Gilda Display'; src: url('/fonts/evr/GildaDisplay.woff2') format('woff2'); font-weight: 400; font-display: swap; }

/* ══ ① 外层 ══ */
.evr {
  position: relative;
  min-height: 100vh;
  width: 100%;
  overflow: hidden;
  background: var(--evr-bg);
  color: var(--evr-fg);
  font-family: var(--evr-font);
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
.evr__video {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: 37% center;    /* 水平偏移 37% */
}

/* ══ ② 导航栏 ══ */
.evr-nav {
  position: relative; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 24px 24px 0;
  flex: 0 0 auto;
}
@media (min-width: 768px) { .evr-nav { padding: 32px 40px 0; } }

/* 药丸按钮通用 */
.evr-pill {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1px solid var(--evr-fg-30);
  border-radius: 9999px;
  background: transparent;
  color: var(--evr-fg);
  font-family: var(--evr-font);
  font-size: 11px; font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 11px 20px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color .25s ease, background .25s ease;
}
.evr-pill:hover { border-color: var(--evr-fg-70); }

/* Menu 按钮(两条横线) */
.evr-menu-btn { padding: 11px 18px; }
.evr-menu-btn__bars { display: inline-flex; flex-direction: column; gap: 4px; }
.evr-menu-btn__bars span { display: block; width: 28px; height: 2px; background: var(--evr-fg); }

/* 居中 Logo */
.evr-logo {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: var(--evr-font);
  font-size: 24px; font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--evr-fg);
  text-decoration: none;
}

/* 右侧按钮组 */
.evr-nav__right { display: none; align-items: center; gap: 10px; }
@media (min-width: 768px) { .evr-nav__right { display: flex; } }

.evr-cta {
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(to right, var(--evr-grad-from), var(--evr-grad-to));
  color: #000;
  border: 0;
  border-radius: 9999px;
  font-family: var(--evr-font);
  font-size: 11px; font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 12px 22px;
  text-decoration: none;
  transition: filter .25s ease;
}
.evr-cta:hover { filter: brightness(1.06); }

/* ══ ③ 主内容区 ══ */
.evr-main {
  position: relative; z-index: 10;
  flex: 1 1 auto;
  display: flex; flex-direction: column;
  justify-content: flex-start;
  padding: 24px 24px 8px;
}
@media (min-width: 768px) {
  .evr-main { justify-content: flex-end; padding: 0 40px 64px; }
}

/* 副标题行 */
.evr-sub {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--evr-fg);
  margin-bottom: 20px;
}
.evr-sub svg { width: 16px; height: 16px; flex: 0 0 auto; }

/* 标题 + 进度环容器 */
.evr-row {
  display: flex; flex-direction: column;
  gap: 32px;
}
@media (min-width: 1024px) {
  .evr-row { flex-direction: row; align-items: flex-end; justify-content: space-between; gap: 48px; }
}

/* 大标题 */
.evr-h1 {
  margin: 0;
  font-family: var(--evr-font);
  font-size: clamp(2rem, 6vw, 5rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.2em;
  color: var(--evr-fg);
  max-width: 900px;
}
.evr-h1 span { display: block; }
.evr-h1 .evr-h1__disp { font-family: var(--evr-font-disp); font-weight: 400; }

/* ── 进度环 ── */
.evr-progress { margin-top: 32px; }
@media (min-width: 768px) { .evr-progress { margin-top: 0; } }
@media (min-width: 1024px) { .evr-progress { max-width: 320px; padding-bottom: 16px; flex: 0 0 auto; } }

.evr-ring { position: relative; width: 120px; height: 120px; }
.evr-ring svg { width: 120px; height: 120px; transform: rotate(-90deg); }
.evr-ring__bg { stroke: var(--evr-fg-15); }
.evr-ring__bar {
  stroke: var(--evr-fg);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s ease-out;
}
.evr-ring__val {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--evr-font);
  font-size: 18px; font-weight: 500;
  color: var(--evr-fg);
}
.evr-progress__text {
  margin: 20px 0 0;
  color: var(--evr-fg-70);
  font-size: 14px; line-height: 1.65;
}

/* ══ ④ 品牌跑马灯 ══ */
.evr-partners { position: relative; z-index: 10; padding: 0 24px 24px; flex: 0 0 auto; }
@media (min-width: 768px) { .evr-partners { padding: 0 40px 32px; } }

.evr-partners__head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 14px;
  font-size: 12px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--evr-fg);
}
.evr-partners__sub { display: none; }
@media (min-width: 768px) { .evr-partners__sub { display: block; } }

.evr-marquee {
  border-top: 1px solid var(--evr-fg-10);
  overflow: hidden;
  padding: 20px 0;
}
.evr-marquee__track {
  display: flex; align-items: center; gap: 64px;
  width: max-content;
  animation: evr-marquee 20s linear infinite;
}
.evr-marquee__item {
  font-family: var(--evr-font);
  font-size: 18px; font-weight: 500; letter-spacing: 0.025em;
  color: var(--evr-fg-50);
  white-space: nowrap;
}

/* ══ ⑤ 全屏圆形菜单 ══ */
.evr-menu {
  position: fixed; inset: 0; z-index: 50;
  background: var(--evr-fg);      /* 白底 */
  color: var(--evr-bg);
  clip-path: var(--evr-clip-shut);
  transition: clip-path var(--evr-dur-menu) var(--evr-ease-menu);
  pointer-events: none;
  display: flex; flex-direction: column;
  padding: 24px 24px 28px;
}
.evr-menu.is-open { clip-path: var(--evr-clip-open); pointer-events: auto; }
@media (min-width: 768px) { .evr-menu { padding: 32px 40px 36px; } }

.evr-menu__nav { display: flex; align-items: center; justify-content: space-between; flex: 0 0 auto; }
.evr-menu__close { border-color: var(--evr-bg-10); color: var(--evr-bg); }
.evr-menu__close:hover { border-color: rgba(0,0,0,0.4); }
.evr-menu__brand {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-size: 24px; font-weight: 700; letter-spacing: 0.05em;
  color: var(--evr-bg);
}

.evr-menu__links { flex: 1 1 auto; display: flex; flex-direction: column; justify-content: center; }
.evr-menu__link {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-family: var(--evr-font);
  font-size: clamp(2rem, 5vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.06em;
  color: var(--evr-bg);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--evr-bg-10);
  opacity: 0; transform: translateX(-60px);
  transition: opacity .5s var(--evr-ease-link), transform .5s var(--evr-ease-link);
}
.evr-menu.is-open .evr-menu__link { opacity: 1; transform: translateX(0); }
.evr-menu.is-open .evr-menu__link:nth-child(1) { transition-delay: .15s; }
.evr-menu.is-open .evr-menu__link:nth-child(2) { transition-delay: .23s; }
.evr-menu.is-open .evr-menu__link:nth-child(3) { transition-delay: .31s; }
.evr-menu.is-open .evr-menu__link:nth-child(4) { transition-delay: .39s; }
.evr-menu.is-open .evr-menu__link:nth-child(5) { transition-delay: .47s; }
.evr-menu__link:hover { transform: translateX(4px); }
.evr-menu__link svg { transition: transform .25s ease; flex: 0 0 auto; }
.evr-menu__link:hover svg { transform: translateX(2px); }

.evr-menu__foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex: 0 0 auto;
  font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(0, 0, 0, 0.4);
}

/* ══ ⑥ 无障碍 ══ */
.evr-pill:focus-visible, .evr-cta:focus-visible, .evr-menu__link:focus-visible {
  outline: 2px solid var(--evr-fg); outline-offset: 3px;
}
.evr-menu__link:focus-visible { outline-color: var(--evr-bg); }
@media (prefers-reduced-motion: reduce) {
  .evr-marquee__track { animation: none; }
  .evr-menu, .evr-menu__link, .evr-ring__bar { transition: none; }
}