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

:root {
  --ink: #1f1f1f;
  --paper: #ffffff;
  --ash: #f5f5f5;
  --line: #e4e4e4;
  --mut: #6b6b6b;
  --rail: 86px;
  --max: 1180px;
  --sh: 0 6px 12px rgba(0, 0, 0, .05);
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Barlow", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: inherit; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: "Barlow Condensed", "Barlow", "PingFang SC", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -.015em;
}

h1 { font-size: clamp(40px, 6.2vw, 88px); }
h2 { font-size: clamp(24px, 2.6vw, 32px); }
h3 { font-size: clamp(19px, 1.6vw, 23px); }

hr {
  width: 54px;
  height: 0;
  margin: 12px 0 18px;
  border: 0;
  border-top: 2px solid var(--ink);
}

.shell { min-height: 100vh; }

/* ---------- 左侧固定栏 ---------- */
.rail {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: var(--rail);
  padding: 16px 0;
  background: var(--paper);
  border-right: 1px solid var(--line);
}

.brandmark {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 21px;
  line-height: 1;
}

.brandmark:hover { background: #000; }

.railnav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.grp {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.grp summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 64px;
  min-height: 46px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .06em;
  list-style: none;
  user-select: none;
}

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

.grp summary .bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  box-shadow: 0 -5px 0 var(--ink), 0 5px 0 var(--ink);
}

.grp[open] summary {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.grp[open] summary .bar {
  background: var(--paper);
  box-shadow: 0 -5px 0 var(--paper), 0 5px 0 var(--paper);
}

.grp menu {
  position: absolute;
  top: 0;
  left: calc(100% + 10px);
  z-index: 60;
  min-width: 198px;
  margin: 0;
  padding: 6px;
  list-style: none;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .16);
}

.grp menu li a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 0 14px;
  font-size: 16px;
  text-decoration: none;
}

.grp menu li a:hover { background: var(--ash); }

/* ---------- 主体 ---------- */
main { padding-left: var(--rail); }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 48px;
  min-height: 100vh;
  padding: 120px 0 72px;
}

.hero-copy {
  padding-left: 22px;
  border-left: 4px solid var(--ink);
}

.eyebrow {
  margin: 0 0 14px;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--mut);
}

.hero-copy h1 { margin: 0; }

.hero-art {
  position: relative;
  height: min(64vh, 560px);
  isolation: isolate;
}

.hero-art.bare {
  background: var(--ash);
  box-shadow: var(--sh);
}

.shot {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: var(--ash);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .16);
}

.shot.a {
  top: 0;
  right: 0;
  z-index: 1;
  width: 66%;
  height: 74%;
}

.shot.b {
  bottom: 0;
  left: 0;
  z-index: 2;
  width: 54%;
  height: 56%;
  border: 8px solid var(--paper);
}

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

.badge {
  position: absolute;
  top: 4%;
  left: 50%;
  z-index: 3;
  padding: 6px 12px;
  background: var(--ink);
  color: var(--paper);
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  box-shadow: var(--sh);
}

.body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 264px;
  align-items: start;
  gap: 44px;
  padding: 56px 0 88px;
  border-top: 1px solid var(--line);
}

.content { min-width: 0; }

.content > div {
  margin: 0 0 18px;
  padding: 26px 26px 30px;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--sh);
  scroll-margin-top: 100px;
}

.content h2 { margin: 0; }
.content h3 { margin: 0; }
.content h2 + hr,
.content h3 + hr { margin: 10px 0 16px; }

.content p,
.content li {
  font-size: 17px;
  line-height: 1.78;
}

.content ul,
.content ol { padding-left: 22px; }

.content img {
  height: auto;
  box-shadow: var(--sh);
}

.content a {
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
}

.content a:hover { background: var(--ash); }

.content blockquote {
  margin: 20px 0;
  padding: 4px 0 4px 18px;
  border-left: 4px solid var(--ink);
  color: #333;
}

/* ---------- 右侧栏 ---------- */
.side {
  position: sticky;
  top: 96px;
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.side h2 { font-size: 20px; }

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

.side-list a {
  display: block;
  padding: 9px 0;
  font-size: 16px;
  text-decoration: none;
  border-bottom: 1px dashed var(--line);
  transition: padding-left .18s ease, background .18s ease;
}

.side-list a:hover {
  padding-left: 6px;
  background: var(--ash);
}

.to-top {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 16px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  font-family: "Barlow Condensed", sans-serif;
  font-size: 16px;
  letter-spacing: .1em;
  text-decoration: none;
}

.to-top:hover {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- 页脚 ---------- */
footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-left: var(--rail);
  padding: 52px 32px 24px;
  background: var(--ink);
  color: var(--paper);
}

footer h2 {
  color: var(--paper);
  font-size: 22px;
}

footer hr { border-top-color: #565656; width: 40px; }

footer a {
  color: var(--paper);
  text-decoration: none;
}

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

.f-col ul a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  font-size: 16px;
  opacity: .8;
}

.f-col ul a:hover {
  opacity: 1;
  border-bottom: 1px solid var(--paper);
}

.huge {
  margin: 0;
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: .92;
  letter-spacing: -.02em;
  word-break: break-word;
}

.colophon {
  grid-column: 1 / -1;
  margin: 22px 0 0;
  padding-top: 16px;
  border-top: 1px solid #3b3b3b;
  font-size: 15px;
  opacity: .68;
}

/* ---------- 宽屏错位 ---------- */
@media (min-width: 1080px) {
  .content > div:nth-child(3n+2) {
    margin-left: 36px;
    margin-right: -22px;
  }
  .content > div:nth-child(3n) { margin-right: 26px; }
}

/* ---------- 移动端 ---------- */
@media (max-width: 860px) {
  .rail {
    inset: 0 0 auto 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: auto;
    height: 64px;
    padding: 0 14px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .brandmark { width: 40px; height: 40px; font-size: 19px; }

  .railnav {
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 8px;
  }

  .grp { width: auto; }

  .grp summary {
    flex-direction: row;
    gap: 7px;
    width: auto;
    min-height: 42px;
    padding: 0 12px;
  }

  .grp menu {
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    min-width: 204px;
  }

  .grp:first-child menu {
    right: auto;
    left: 0;
  }

  main { padding-top: 64px; padding-left: 0; }

  .wrap { padding: 0 18px; }

  .hero {
    grid-template-columns: 1fr;
    gap: 26px;
    min-height: 0;
    padding: 34px 0 44px;
  }

  .hero-copy { padding-left: 16px; border-left-width: 3px; }
  .hero-art { height: min(52vh, 360px); }
  .badge { left: 46%; top: 3%; font-size: 20px; }

  .body {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 30px 0 56px;
  }

  .content > div { padding: 20px 18px 24px; }

  .side {
    position: static;
    padding: 20px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  footer {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-left: 0;
    padding: 40px 18px 20px;
  }

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

  .huge { font-size: clamp(40px, 12vw, 70px); }
}

@media (max-width: 430px) {
  footer { grid-template-columns: 1fr; }
  .f-brand { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .side-list a,
  .to-top { transition: none; }
}

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