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

:root{
  --paper:#fdfbf7;
  --shade:#f5f5f5;
  --ink:#1a1a1a;
  --line:#e0e0e0;
  --soft:#6e6a63;
  --read:'Rubik',Georgia,'Songti SC','Noto Serif SC',SimSun,serif;
}

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

html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
html.veil-on{overflow:hidden}

body{
  margin:0;
  background:var(--paper);
  color:var(--ink);
  font-family:'Rubik',system-ui,-apple-system,'Segoe UI','Microsoft YaHei',sans-serif;
  font-size:17px;
  line-height:1.8;
  letter-spacing:.01em;
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:1;
  pointer-events:none;
  opacity:.13;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

img{max-width:100%;height:auto;display:block}
a{color:inherit}
p{margin:0 0 1em}
h1,h2,h3{letter-spacing:.03em}

.shell{max-width:1160px;margin:0 auto;padding:0 24px}

.masthead{
  position:sticky;
  top:0;
  z-index:30;
  background:var(--paper);
  border-bottom:1px solid var(--line);
  padding-top:8px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:54px;
  text-decoration:none;
  font-size:21px;
  font-weight:700;
  letter-spacing:.15em;
  line-height:1.2;
}
.brand:hover .mark{background:var(--soft)}
.logo{width:28px;height:28px;object-fit:contain}
.mark{
  display:grid;
  place-items:center;
  width:28px;
  height:28px;
  background:var(--ink);
  color:var(--paper);
  font-size:14px;
  font-weight:600;
  letter-spacing:0;
  line-height:1;
}

.menuro{
  display:flex;
  align-items:center;
  gap:14px;
  border-top:1px solid var(--line);
  padding:4px 0;
}
.menuro nav{flex:1 1 auto;min-width:0}
.menuro nav p{
  display:flex;
  flex-wrap:nowrap;
  gap:2px;
  margin:0;
  overflow-x:auto;
  scrollbar-width:none;
}
.menuro nav p::-webkit-scrollbar{display:none}
.menuro nav a{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:12px 11px;
  font-size:16px;
  letter-spacing:.04em;
  text-decoration:none;
  border-bottom:2px solid transparent;
}
.menuro nav a:hover{border-bottom-color:var(--ink);background:var(--shade)}

.find{
  display:flex;
  align-items:stretch;
  flex:0 0 auto;
  border:1px solid var(--ink);
  background:#fff;
}
.find input{
  width:120px;
  min-height:40px;
  border:0;
  background:transparent;
  padding:8px 10px;
  font:inherit;
  font-size:16px;
  color:var(--ink);
}
.find input:focus{outline:2px solid var(--ink);outline-offset:-2px}
.find button{
  min-height:40px;
  border:0;
  border-left:1px solid var(--ink);
  background:var(--ink);
  color:var(--paper);
  font:inherit;
  font-size:16px;
  padding:0 13px;
  cursor:pointer;
}
.find button:hover{background:var(--soft)}

.burger{
  flex:0 0 auto;
  min-height:44px;
  padding:0 17px;
  border:1px solid var(--ink);
  background:var(--paper);
  color:var(--ink);
  font:inherit;
  font-size:16px;
  letter-spacing:.08em;
  cursor:pointer;
}
.burger:hover{background:var(--ink);color:var(--paper)}

.veil{
  display:none;
  position:fixed;
  inset:0;
  z-index:60;
  background:var(--paper);
  overflow-y:auto;
  padding:18px 24px 64px;
}
.veil.open{display:block}
.veil-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:16px;
  margin-bottom:18px;
  border-bottom:1px solid var(--line);
  padding-bottom:12px;
}
.veil-brand{font-weight:700;font-size:18px;letter-spacing:.15em}
.veil-close{
  min-height:44px;
  padding:0 18px;
  border:1px solid var(--ink);
  background:var(--paper);
  color:var(--ink);
  font:inherit;
  font-size:16px;
  cursor:pointer;
}
.veil-close:hover{background:var(--ink);color:var(--paper)}
.veil-list a{
  display:flex;
  align-items:center;
  gap:14px;
  min-height:56px;
  padding:12px 4px;
  border-bottom:1px solid var(--line);
  text-decoration:none;
  font-size:22px;
  letter-spacing:.08em;
}
.veil-list a:hover{background:var(--shade);padding-left:12px}
.vn{min-width:24px;font-size:12px;letter-spacing:.16em;color:var(--soft)}

main{padding:28px 0 60px}

article{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  column-gap:44px;
}

.hero{
  position:relative;
  overflow:hidden;
  background:var(--ink);
  color:var(--paper);
  display:flex;
  align-items:flex-end;
  min-height:clamp(240px,45vh,420px);
  padding:32px 30px;
  margin-bottom:32px;
}
.hero-media{position:absolute;inset:0}
.hero-media img{width:100%;height:100%;object-fit:cover;filter:grayscale(1) contrast(1.08)}
.hero-media::after{content:"";position:absolute;inset:0;background:rgba(18,18,18,.56)}
.hero-no{
  position:absolute;
  right:16px;
  bottom:-14px;
  z-index:1;
  font-size:clamp(92px,18vw,220px);
  font-weight:700;
  line-height:.9;
  letter-spacing:-.05em;
  color:var(--paper);
  opacity:.16;
  pointer-events:none;
}
.hero-copy{position:relative;z-index:2;max-width:720px}
.hero-copy h1{
  margin:0 0 12px;
  font-size:clamp(27px,4.4vw,46px);
  line-height:1.22;
  letter-spacing:.02em;
}
.hero-copy p{
  margin:0;
  max-width:58ch;
  font-size:17px;
  line-height:1.7;
  font-family:var(--read);
  color:rgba(253,251,247,.86);
}

.rail{
  grid-column:1;
  grid-row:2 / span 60;
  align-self:start;
  position:sticky;
  top:132px;
  border-top:2px solid var(--ink);
  padding-top:12px;
}
.rail small{
  display:block;
  margin-bottom:6px;
  font-size:13px;
  letter-spacing:.3em;
  color:var(--soft);
}
.rail h2{margin:0 0 14px;font-size:18px;letter-spacing:.16em}
.rail ol{list-style:none;margin:0;padding:0;counter-reset:r}
.rail li{counter-increment:r;border-bottom:1px solid var(--line)}
.rail a{
  display:flex;
  align-items:center;
  gap:10px;
  min-height:44px;
  padding:11px 2px;
  text-decoration:none;
  font-size:16px;
}
.rail a::before{content:counter(r,decimal-leading-zero);font-size:12px;letter-spacing:.1em;color:var(--soft)}
.rail a:hover{background:var(--shade)}

div > article:not(.hero){
  grid-column:2;
  background:#fff;
  border:1px solid var(--line);
  box-shadow:0 3px 16px rgba(26,26,26,.06);
  border-radius:0;
  padding:30px 30px 34px;
  margin-bottom:26px;
  scroll-margin-top:150px;
  animation:step .16s linear both;
}
div > article:nth-child(4){animation-delay:.02s}
div > article:nth-child(5){animation-delay:.04s}
div > article:nth-child(6){animation-delay:.06s}
div > article:nth-child(7){animation-delay:.08s}
div > article:nth-child(8){animation-delay:.1s}
div > article:nth-child(9){animation-delay:.12s}

@keyframes step{from{transform:translateY(6px)}to{transform:none}}

div article small{
  display:block;
  margin-bottom:8px;
  font-size:13px;
  letter-spacing:.3em;
  color:var(--soft);
}
div h2{
  margin:0 0 14px;
  font-size:clamp(21px,2.5vw,27px);
  line-height:1.32;
}
div h3{margin:26px 0 10px;font-size:19px;line-height:1.4}
div article p{font-family:var(--read);line-height:1.9;max-width:66ch}
div article p:last-child{margin-bottom:0}
div article ul,
div article ol{padding-left:1.4em;line-height:1.85;font-family:var(--read)}
div article li{margin-bottom:.4em}
div article a{text-underline-offset:3px}
div article a:hover{background:#efeee9}
div article strong{font-weight:600}

footer{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:22px 28px;
  border-top:1px solid var(--line);
  background:var(--shade);
  padding:34px 0 22px;
}
footer p{margin:0;font-size:16px;line-height:1.7}
.fbrand{font-weight:700;letter-spacing:.14em}
.fdesc{font-family:var(--read);color:#3a3a3a}
.flink{columns:2;column-gap:14px}
.flink a{
  display:flex;
  align-items:center;
  min-height:40px;
  padding:4px 0;
  text-decoration:none;
  break-inside:avoid;
}
.flink a:hover{text-decoration:underline;text-underline-offset:3px}
.fkey{font-size:15px;letter-spacing:.06em;color:var(--soft)}
footer small{
  grid-column:1 / -1;
  border-top:1px solid var(--line);
  padding-top:14px;
  font-size:14px;
  letter-spacing:.08em;
  color:var(--soft);
}

@media (max-width:960px){
  div{grid-template-columns:1fr}
  .rail{grid-column:1;grid-row:auto;position:static;margin-bottom:26px}
  .rail ol{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}
  div > article:not(.hero){grid-column:1}
  footer{grid-template-columns:1fr 1fr}
  .fdesc{grid-column:1 / -1}
}

@media (max-width:760px){
  .shell{padding:0 16px}
  .menuro nav{display:none}
  .find{flex:1 1 auto;min-width:0}
  .find input{width:100%;min-width:0}
  .hero{min-height:296px;padding:24px 20px}
  .hero-no{bottom:-8px;right:10px}
  .hero-copy p{font-size:16px;line-height:1.65}
  main{padding:20px 0 44px}
  div > article:not(.hero){padding:24px 20px 28px;margin-bottom:20px}
  .rail ol{grid-template-columns:1fr}
  footer{grid-template-columns:1fr;gap:14px}
  .flink{columns:1}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  div > article:not(.hero){animation:none}
}

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