@import url('https://fonts.googleapis.com/css2?family=Newsreader:wght@400;500;600;700&family=Roboto:wght@300;400;500;700&display=swap');

:root {
  --orange: #F04E23;
  --ink: #141414;
  --cream: #F5EFE6;
  --line: rgba(20, 20, 20, 0.18);
  --mute: #6B6157;
  --r: 18px;
}

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

html {
  background: var(--cream);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family: Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 18px;
  line-height: 1.65;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
.brand,
.foot-brand {
  font-family: Newsreader, Georgia, "Songti SC", serif;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

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

p {
  margin: 0 0 1.1em;
}

a {
  color: inherit;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 3px;
}

::selection {
  background: var(--orange);
  color: var(--cream);
}

/* 左侧竖排胶囊导航 */
.rail {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 300px;
  height: 100vh;
  padding: 28px 22px;
  background: var(--cream);
  border-right: 2px solid var(--ink);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-size: 26px;
  color: var(--ink);
  text-decoration: none;
}

.brand .mark {
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
}

.drawer summary {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 10px 18px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  list-style: none;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease;
}

.drawer summary::-webkit-details-marker {
  display: none;
}

.drawer summary::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: -4px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.drawer[open] summary {
  background: var(--ink);
  color: var(--cream);
}

.drawer[open] summary::after {
  margin-top: 4px;
  transform: rotate(-135deg);
}

.menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.menu-list a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 16px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.menu-list a:hover {
  background: var(--ink);
  color: var(--cream);
}

.menu-list li:first-child a {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--cream);
}

.menu-list li:first-child a:hover {
  background: var(--ink);
  border-color: var(--ink);
}

.rail-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: auto;
  border-radius: 999px;
  background: var(--orange);
  color: var(--cream);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: background 160ms ease;
}

.rail-contact:hover {
  background: var(--ink);
}

.page {
  margin-left: 300px;
}

/* 满屏主视觉 */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: clamp(30px, 7vh, 84px) clamp(22px, 5vw, 72px) 64px;
  overflow: hidden;
  background: var(--ink);
  color: var(--cream);
  border-bottom: 2px solid var(--ink);
}

.hero-media {
  position: absolute;
  inset: 0;
  margin: 0;
}

.hero-media .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.06);
  will-change: transform;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 20, 20, 0.55);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 22ch;
}

.hero-kicker {
  display: inline-block;
  margin: 0 0 20px;
  padding: 6px 16px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--cream);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 7.2vw, 104px);
  color: var(--cream);
}

/* 正文分区 */
.stage div {
  padding: clamp(40px, 6.5vh, 84px) clamp(22px, 5vw, 72px);
  border-bottom: 2px solid var(--ink);
  scroll-margin-top: 96px;
}

.stage div:nth-of-type(even) {
  background: var(--ink);
  color: var(--cream);
}

.stage div p,
.stage div li {
  max-width: 64ch;
}

.stage h2 {
  margin: 0 0 22px;
  font-size: clamp(26px, 3.4vw, 44px);
}

.stage h2 > span {
  padding-bottom: 2px;
  border-bottom: 6px solid var(--orange);
}

.stage h3 {
  margin: 32px 0 12px;
  font-size: clamp(20px, 2.2vw, 27px);
}

.stage div h3 > span {
  padding-bottom: 2px;
  border-bottom: 4px solid var(--orange);
}

.stage div a {
  text-decoration: underline;
  text-decoration-color: var(--orange);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.stage div a:hover {
  color: var(--orange);
}

.stage div:nth-of-type(even) a:hover {
  color: var(--orange);
}

.stage div ul,
.stage div ol {
  margin: 0 0 1.2em;
  padding-left: 1.25em;
}

.stage div li {
  margin: 0 0 0.45em;
}

.stage div ul > li::marker {
  color: var(--orange);
}

.stage div figure {
  margin: 0 0 1.4em;
}

.stage div figure img,
.stage div img {
  width: 100%;
  border-radius: var(--r);
}

.stage div figcaption {
  margin-top: 10px;
  font-size: 16px;
  color: var(--mute);
}

.stage div:nth-of-type(even) figcaption {
  color: rgba(245, 239, 230, 0.72);
}

.stage div blockquote {
  margin: 0 0 1.4em;
  padding: 4px 0 4px 22px;
  border-left: 6px solid var(--orange);
  font-family: Newsreader, Georgia, serif;
  font-size: 21px;
}

.stage div table {
  width: 100%;
  margin: 0 0 1.4em;
  border-collapse: collapse;
  font-size: 17px;
}

.stage div th,
.stage div td {
  padding: 10px 12px;
  border: 2px solid currentColor;
  text-align: left;
}

.stage div strong {
  font-weight: 700;
}

/* 侧栏卡片区 */
.band {
  display: grid;
  grid-template-columns: minmax(0, 300px) 1fr;
  gap: 34px;
  align-items: start;
}

.band-card {
  padding: 26px 24px;
  border-radius: var(--r);
  background: var(--orange);
  color: var(--cream);
}

.band-card h2 {
  margin: 0 0 12px;
  font-size: 24px;
}

.band-card h2 > span {
  border-bottom-color: var(--cream);
}

.band-card ul {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.band-card a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 0;
  color: var(--cream);
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px solid rgba(245, 239, 230, 0.35);
  transition: padding-left 160ms ease;
}

.band-card li:last-child a {
  border-bottom: 0;
}

.band-card a:hover {
  padding-left: 8px;
  color: var(--cream);
}

/* 页脚 */
.site-foot {
  padding: clamp(44px, 6vh, 76px) clamp(22px, 5vw, 72px) 26px;
  background: var(--orange);
  color: var(--ink);
  border-top: 2px solid var(--ink);
}

.foot-top {
  display: grid;
  grid-template-columns: 1fr minmax(0, 340px);
  gap: 34px;
  align-items: start;
}

.foot-brand {
  margin: 0 0 16px;
  font-size: clamp(40px, 9vw, 128px);
  line-height: 0.92;
  color: var(--ink);
}

.foot-addr {
  font-size: 16px;
  font-style: normal;
  color: rgba(20, 20, 20, 0.82);
  word-break: break-all;
}

.foot-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.foot-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font-size: 16px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.foot-nav a:hover {
  background: var(--ink);
  color: var(--cream);
}

.foot-copy {
  margin: 36px 0 0;
  padding-top: 16px;
  border-top: 2px solid rgba(20, 20, 20, 0.28);
  font-size: 16px;
}

/* 入场错落 */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.stage > div {
  animation: rise 520ms cubic-bezier(0.2, 0.7, 0.3, 1) both;
}

.stage > div:nth-of-type(1) { animation-delay: 0ms; }
.stage > div:nth-of-type(2) { animation-delay: 60ms; }
.stage > div:nth-of-type(3) { animation-delay: 110ms; }
.stage > div:nth-of-type(4) { animation-delay: 160ms; }
.stage > div:nth-of-type(5) { animation-delay: 210ms; }
.stage > div:nth-of-type(6) { animation-delay: 260ms; }
.stage > div:nth-of-type(7) { animation-delay: 310ms; }
.stage > div:nth-of-type(8) { animation-delay: 360ms; }
.stage > div:nth-of-type(9) { animation-delay: 410ms; }

@media (max-width: 900px) {
  .rail {
    position: sticky;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    width: auto;
    height: auto;
    padding: 10px 16px;
    border-right: 0;
    border-bottom: 2px solid var(--ink);
  }

  .brand {
    flex: 1 1 auto;
    min-height: 44px;
    font-size: 20px;
  }

  .drawer {
    position: static;
  }

  .drawer summary {
    min-height: 44px;
    padding: 8px 14px;
  }

  .menu-list {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 12px 16px 16px;
    background: var(--cream);
    border-bottom: 2px solid var(--ink);
  }

  .menu-list a {
    padding: 8px 14px;
  }

  .rail-contact {
    flex: 0 0 auto;
    min-height: 44px;
    margin-top: 0;
    padding: 0 16px;
  }

  .page {
    margin-left: 0;
  }

  .hero {
    min-height: 92vh;
    justify-content: flex-start;
    padding-top: 34px;
  }

  .stage div {
    scroll-margin-top: 78px;
  }

  .band {
    grid-template-columns: 1fr;
  }

  .foot-top {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .stage > div {
    animation: none;
  }

  .hero-media .hero-img {
    transform: none;
    will-change: auto;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}

button[aria-expanded]{min-width:44px;min-height:44px}
