:root {
  --ink: #12100F;
  --flame: #F2542D;
  --paper: #F2EDE4;
  --line: rgba(242, 237, 228, .24);
  --line-soft: rgba(242, 237, 228, .1);
  --mute: rgba(242, 237, 228, .64);
  --disp: 'Syne', 'Manrope', system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding-bottom: 120px;
  background:
    radial-gradient(900px 520px at 82% -10%, rgba(242, 84, 45, .22), transparent 62%),
    radial-gradient(700px 480px at -8% 34%, rgba(242, 237, 228, .06), transparent 60%),
    var(--ink);
  background-attachment: fixed;
  color: var(--paper);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.75;
  overflow-x: hidden;
}

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

/* ---------- 底部固定条 ---------- */
.dock {
  position: fixed;
  left: 14px;
  right: 14px;
  bottom: 14px;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(18, 16, 15, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.dock__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.dock__side {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  flex-wrap: wrap;
}

.dock a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--paper);
  font-size: 1rem;
  text-decoration: none;
  transition: color .18s, border-color .18s, background .18s;
}

.dock a:hover,
.dock a:focus-visible {
  color: var(--flame);
  border-color: var(--flame);
  outline: none;
}

.dock__brand {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  min-height: 44px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--flame);
  color: #fff;
  font-family: var(--disp);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
  white-space: nowrap;
}

.dock__brand:hover,
.dock__brand:focus-visible {
  color: #fff;
  border-color: transparent;
  background: #ff6a44;
}

.dock__toggle {
  display: none;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: none;
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}

.dock__search {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 3px 4px 3px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
}

.dock__search input {
  width: 118px;
  min-height: 38px;
  border: 0;
  background: none;
  color: var(--paper);
  font: inherit;
  font-size: 1rem;
  outline: none;
}

.dock__search input::placeholder {
  color: rgba(242, 237, 228, .46);
}

.dock__search button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--flame);
  color: #fff;
  font: inherit;
  font-size: 1rem;
  cursor: pointer;
}

/* ---------- 首屏 ---------- */
.hero {
  position: relative;
  overflow: hidden;
  max-width: 1180px;
  margin: 0 auto;
  padding: 64px 24px 44px;
  min-height: 45vh;
  display: flex;
  align-items: flex-end;
}

.hero__ghost {
  position: absolute;
  right: 8px;
  top: -14px;
  z-index: 0;
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(140px, 24vw, 320px);
  line-height: .8;
  color: transparent;
  -webkit-text-stroke: 1px rgba(242, 237, 228, .18);
  pointer-events: none;
  will-change: transform;
}

.hero__copy {
  position: relative;
  z-index: 3;
  max-width: 620px;
}

.hero__title {
  margin: 0 0 16px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(2rem, 5.6vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -.02em;
}

.hero__lead {
  margin: 0;
  max-width: 46ch;
  color: var(--mute);
  font-size: 1rem;
  line-height: 1.8;
}

.hero__collage {
  position: absolute;
  right: 24px;
  top: 48px;
  width: min(36%, 340px);
  height: calc(100% - 96px);
  z-index: 1;
}

.shot {
  position: absolute;
  will-change: transform;
}

.shot--a {
  width: 62%;
  right: 32%;
  top: 0;
}

.shot--b {
  width: 56%;
  right: 0;
  bottom: 6%;
}

.shot figure {
  margin: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(242, 237, 228, .05);
}

.shot--a figure {
  transform: rotate(-5deg);
}

.shot--b figure {
  transform: rotate(4deg);
}

.shot__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shot__ph {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(140deg, rgba(242, 84, 45, .42), rgba(242, 237, 228, .07));
}

/* ---------- 版心 ---------- */
.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.stage {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 272px;
  gap: 56px;
  align-items: start;
  padding: 48px 0 72px;
}

.story {
  max-width: 720px;
  min-width: 0;
}

.story > article {
  padding: 56px 0;
  border-top: 1px solid var(--line-soft);
  scroll-margin-top: 28px;
}

.story > article:first-child {
  padding-top: 8px;
  border-top: 0;
}

.story h2 {
  margin: 0 0 18px;
  font-family: var(--disp);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.4vw, 2.1rem);
  line-height: 1.22;
  letter-spacing: -.01em;
}

.story h2 > span {
  box-shadow: inset 0 -.3em 0 rgba(242, 84, 45, .42);
}

.story h3 {
  margin: 34px 0 14px;
  font-family: var(--disp);
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.4;
}

.story h3 > span {
  display: inline-block;
  padding-left: 11px;
  border-left: 3px solid var(--flame);
}

.story p {
  margin: 0 0 18px;
  font-size: 1.0625rem;
  line-height: 1.88;
  color: rgba(242, 237, 228, .87);
}

.story a {
  color: var(--flame);
  text-underline-offset: 3px;
}

.story ul,
.story ol {
  margin: 0 0 22px;
  padding-left: 1.3em;
}

.story li {
  margin: 0 0 9px;
  line-height: 1.8;
}

.story li::marker {
  color: var(--flame);
}

.story blockquote {
  margin: 0 0 22px;
  padding: 16px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--flame);
  border-radius: 10px;
  background: rgba(242, 84, 45, .08);
}

.story blockquote p:last-child {
  margin-bottom: 0;
}

.story img {
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.story table {
  display: block;
  overflow-x: auto;
  min-width: 100%;
  margin: 0 0 22px;
  border-collapse: collapse;
  font-size: 1rem;
}

.story th,
.story td {
  padding: 10px 14px;
  border: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

.story th {
  background: rgba(242, 84, 45, .16);
  font-family: var(--disp);
}

.story details {
  margin: 0 0 18px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.story summary {
  cursor: pointer;
  font-weight: 600;
}

.story hr {
  height: 1px;
  margin: 28px 0;
  border: 0;
  background: var(--line);
}

.story article.flash {
  animation: flashLine .9s ease-out;
}

@keyframes flashLine {
  from { box-shadow: inset 0 0 0 2px var(--flame); }
  to { box-shadow: inset 0 0 0 2px transparent; }
}

/* ---------- 右侧栏 ---------- */
.rail {
  position: sticky;
  top: 24px;
  padding: 18px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(242, 237, 228, .035);
}

.rail__title {
  margin: 0 0 12px;
  font-family: var(--disp);
  font-weight: 600;
  font-size: 1.0625rem;
  letter-spacing: .03em;
}

.rail__title span {
  display: inline-block;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--flame);
}

.rail__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 2px;
}

.rail__list a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(242, 237, 228, .78);
  font-size: 1rem;
  text-decoration: none;
}

.rail__list a:hover,
.rail__list a:focus-visible {
  color: var(--paper);
  border-color: var(--line);
  outline: none;
}

/* ---------- 页脚 ---------- */
.colophon {
  max-width: 1180px;
  margin: 0 auto;
  padding: 52px 24px 32px;
  border-top: 1px solid var(--line);
}

.colophon__grid {
  display: grid;
  grid-template-columns: 1.3fr .85fr .85fr;
  gap: 36px;
  align-items: start;
}

.colophon__word {
  margin: 0;
  font-family: var(--disp);
  font-weight: 800;
  font-size: clamp(1.9rem, 5vw, 3.3rem);
  line-height: .96;
  letter-spacing: -.02em;
}

.colophon__word span {
  display: block;
}

.colophon address {
  margin-top: 16px;
  font-style: normal;
  font-size: 1rem;
  color: var(--mute);
}

.colophon__list,
.colophon__foot {
  margin: 0;
  padding: 0;
  list-style: none;
}

.colophon__list {
  display: grid;
  gap: 2px;
}

.colophon__list a,
.colophon__foot a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: rgba(242, 237, 228, .74);
  font-size: 1rem;
  text-decoration: none;
}

.colophon__list a:hover,
.colophon__foot a:hover {
  color: var(--flame);
}

.colophon__base {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  justify-content: space-between;
  align-items: center;
  margin-top: 44px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.colophon__base p {
  margin: 0;
  font-size: 1rem;
  color: rgba(242, 237, 228, .52);
}

.colophon__foot {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ---------- 滚动揭示 ---------- */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    .story > article + article {
      animation: rise linear both;
      animation-timeline: view();
      animation-range: entry 6% cover 28%;
    }
  }
}

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

/* ---------- 窄屏 ---------- */
@media (max-width: 1000px) {
  body {
    padding-bottom: 104px;
  }

  .dock {
    flex-wrap: wrap;
    gap: 8px;
    padding: 8px;
    border-radius: 18px;
  }

  .dock__toggle {
    display: inline-flex;
    order: 0;
  }

  .dock__brand {
    position: static;
    transform: none;
    order: 1;
    flex: 1 1 auto;
    justify-content: center;
    min-height: 44px;
    padding: 0 10px;
    background: transparent;
    color: var(--paper);
    font-size: 1.0625rem;
  }

  .dock__brand:hover,
  .dock__brand:focus-visible {
    color: var(--flame);
    background: transparent;
  }

  .dock__nav {
    order: 2;
    flex-basis: 100%;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }

  .dock.is-open .dock__nav {
    display: flex;
  }

  .dock__nav .dock__side {
    justify-content: center;
    gap: 6px;
  }

  .dock__search {
    display: none;
    order: 3;
    flex-basis: 100%;
    margin-top: 6px;
  }

  .dock.is-open .dock__search {
    display: flex;
  }

  .dock__search input {
    width: 100%;
    flex: 1 1 auto;
  }

  .hero {
    min-height: 0;
    padding: 34px 20px 28px;
    display: block;
  }

  .hero__ghost {
    font-size: clamp(96px, 26vw, 170px);
    right: -4px;
    top: -8px;
  }

  .hero__title {
    font-size: clamp(1.75rem, 7.4vw, 2.5rem);
  }

  .hero__collage {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 190px;
    margin-top: 24px;
  }

  .wrap {
    padding: 0 20px;
  }

  .stage {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 32px 0 48px;
  }

  .story {
    max-width: none;
  }

  .rail {
    position: static;
    order: 2;
  }

  .colophon {
    padding: 40px 20px 24px;
  }

  .colophon__grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .colophon__col--brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 560px) {
  .colophon__grid {
    grid-template-columns: 1fr;
  }

  .colophon__base {
    margin-top: 32px;
  }
}

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